Re: JAXB Exception

2009-05-25 Thread Frank C.
Works like a baby!!! Thanks, Frank willem.jiang wrote: > > JAXB DataFormat supports to set the JaxbContext. > Please try these code, > JaxbDataFormat jaxb = new JaxbDataFormat(); > jaxb.setContext(JAXBContext.newInstance(EndpointInformation.class)); > > Willem > >

Re: JAXB Exception

2009-05-25 Thread Frank C.
nd 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

JAXB Exception

2009-05-25 Thread Frank C.
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