here is my code, Ticket is openJpa annotated class created in drools knowledge session, this class has two one-to-many relationships defined. Do I need Xml annotations?
<camelContext id="camelContext" xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="activemq:queue:commandsQueue" /> <policy ref="fsDroolsPolicy"> <unmarshal ref="xstream" /> <to uri="drools:fsGridNode/fsKnowledgeSession" /> <marshal ref="xstream" /> <log message="${body}"/> </policy> </route> <route> <from uri="direct://fsKnowledgeSession"/> <policy ref="fsDroolsPolicy"> <convertBodyTo>Ticket.class</convertBodyTo> <to uri="jpa:com.mycompany.product.service.jpa.Ticket"/> <log message="${body}"/> </policy> </route> </camelContext> -- View this message in context: http://camel.465427.n5.nabble.com/Newbie-Pls-help-ETL-Example-Modification-Doesn-t-work-tp2852839p5737088.html Sent from the Camel - Users mailing list archive at Nabble.com.
