camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From contactreji <contactr...@gmail.com>
Subject Re: Camel JAXB - jaxb.index not found
Date Tue, 21 Mar 2017 18:32:56 GMT
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.

Mime
View raw message