camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaishankar <jayashankar....@wipro.com>
Subject Re: How to restart the route if no response is returned from the web service call
Date Wed, 30 Jul 2014 12:08:16 GMT
Hi Claus,

If I use Producer Template we cannot handle *SOAPfault *or *SocketTimeOut
*Exceptions?
Is there any alternative solution for the problem?

ProducerTemplate producerTemplate =
exchange.getContext().createProducerTemplate();
Exchange exchangenew = producerTemplate.send("cxf:bean:TransactionBegin",
exchange);
producerTemplate.stop();.

If SOAP fault exception occurs the *exchangenew * Exchange becomes null.



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-restart-the-route-if-no-response-is-returned-from-the-web-service-call-tp5754330p5754641.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message