Hi

Try to search the internet for this kind of JAXBException about doesnt
contain jaxb.index and you can find plenty of links about this.


On Wed, Sep 11, 2013 at 7:37 PM, contactreji <contactr...@gmail.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to