Is there an ObjectFactory or a jaxb.index file in the package of
org.helios.routing.server.EndpointInformation ?
Can you double check it ?
If not , JAXB can't do the marshal and unmarshal work for you.
Willem
Frank C. wrote:
> I am getting a "Caused by: javax.xml.bind.JAXBException:
> "org.helios.routing.server.EndpointInformation" doesnt contain
> ObjectFactory.class or jaxb.index" exception when attempting to execute the
> following route:
>
> public void configure() throws Exception {
> from("direct:ping")
> .marshal(jaxb)
> .to(endpointInformation.getEpUrl())
> .unmarshal(jaxb)
> .to("browse:pingEnd");
> }
>
> where
> jaxb = new JaxbDataFormat();
> jaxb.setContextPath(targetClassName);
>
> and targetClassName = "org.helios.routing.server.EndpointInformation"
>
> I am using Camel 2.0-M1
>
>
>