// On every <a> fragment, apply a simple template and bind the templating result to
// beanId "orderItem_xml" ...
smooks.addVisitor(new FreeMarkerTemplateProcessor(new TemplatingConfiguration("${object.a}").setUsage(BindTo.beanId("orderItem_xml"))), "a");
JMSRouter jmsRouter = new JMSRouter();
jmsRouter.setDestinationName("objectAQueue");
jmsRouter.setBeanId("orderItem_xml");
jmsRouter.setCorrelationIdPattern("${object.a}");
jmsRouter.setJndiProperties("/org/milyn/routing/jms/activemq/activemq.1.jndi.properties");
smooks.addVisitor(jmsRouter, "a");
}