Marshal().Jib

2016-08-10 Thread Adrian Khalili
Hi Camel users forum, I am relatively new to Camel. I have couple of questions regarding Jibx. I am trying to marshal an object to Jibx and send it to a webservices endpoint. Please see the code snippet below: from("what should this be?").marshal().jibx(jibxMock).to("WebsericesEndPoint"); My q

Re: Marshal().Jib

2016-08-11 Thread Claus Ibsen
Hi You do not have to use Camel route for everything. If you have some java code that does the jibx marshalling and also code to call the webservice, then that is fine. You can put all that in a bean method, that you can call from Camel if you eventually have Camel routes. However in your "from"