final Bean beanConfig = new Bean(Coordinate.class, beanId, selector);
beanConfig.bindTo("x", "coords/coord/@x").bindTo("y", "coords/coord/@y");
smooksProcessor.addVisitor(beanConfig);
// Smooks Camel BeanRouter programmatic configuration
final BeanRouter camelBeanRouter = new BeanRouter(context);
camelBeanRouter.setBeanId(beanId).setToEndpoint(toEndpoint)
.setCorrelationIdName(CORRELATION_ID).setCorrelationIdPattern("${PUUID.execContext}");
smooksProcessor.addVisitor(camelBeanRouter, selector);
from(fromEndpoint).process(smooksProcessor);
}