Hi I am trying to marsha some data which is receivd at CXF Endpoint as follows
<camelContext xmlns="http://camel.apache.org/schema/spring"> <dataFormats> <jaxb id="myJaxb" prettyPrint="true" contextPath="outotec.pi.mes.id59.powerconsumption.DTPowerConsumption.class" /> </dataFormats> <redeliveryPolicyProfile redeliveryDelay="25" maximumRedeliveries="3" id="sapRedelivery" /> <route id="route_1"> <from uri="cxf:bean:PowerConsumptionEndpoint" /> <marshal ref="myJaxb"/> <to uri="activemq:REJI_INboundQ" /> </route> </camelContext> It gives error as follows Caused by: javax.xml.bind.JAXBException: "outotec.pi.mes.id59.powerconsumption.DTPowerConsumption.class" doesnt contain ObjectFactory.class or jaxb.index at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:197) Can you help me with this jaxb component... I want to marshall the data before storing into the Queue.. Reji -- View this message in context: http://camel.465427.n5.nabble.com/camel-jaxb-component-tp5739181.html Sent from the Camel - Users mailing list archive at Nabble.com.