Made slight mods on the route and it worked. Thanks

 @Override
    public void configure() throws Exception {

      *  JaxbDataFormat searchXmlRequestJaxb= new JaxbDataFormat();
       
searchXmlRequestJaxb.setContext(JAXBContext.newInstance(com.trvl.integration.domain.busbooking.tbo.search.xmlobjects.request.Search.class));*
        from("direct:processBusBookingSearchRequest")
                .log("received search request ${body}")
                .process(busSearchUItoXMLMapping)
                .log("Transformation completed.")
                .marshal(searchXmlRequestJaxb)
                //.convertBodyTo(String.class)
                .log("Marshalled XML ${body}")
                .end();
    }
}



-----
Reji Mathews
Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & 
Jboss Fuse ESB | Mule ESB )
LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a
Twitter - reji_mathews
--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-JAXB-jaxb-index-not-found-tp5795819p5795843.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to