BeanDefinitionBuilder adapterDefBuilder = BeanDefinitionBuilder.rootBeanDefinition(CamelTargetAdapter.class);
String requestChannel = element.getAttribute("requestChannel");
String replyChannel = element.getAttribute("replyChannel");
// Check the requestChannel
if (!StringUtils.hasText(requestChannel)) {
throw new ConfigurationException("The 'requestChannel' attribute is required.");
}
// Set the adapter bean's property
parseAttributes(element, parserContext, adapterDefBuilder);
parseCamelContext(element, parserContext, adapterDefBuilder);