Hi list,
I'm trying to route a message to a SOAP service via a CXF endpoint like
this:
from("cxf:bean:...").
doTry().
to("cxf:bean:primary").
doCatch(IOException.class).
to("cxf:bean:secondary").
end();
So basically, send the message to the first service, and if that doesn't
work, send it to the second instead. Unfortunately, when the catch block is
triggered the message body is null so routing to the secondary endpoint
fails, too. Is there a way to get the original message body back, or do I
need to save/restore it myself somehow?
Interestingly, using onException() does not seem to show the same problem.
Thanks,
Jens
--
View this message in context:
http://camel.465427.n5.nabble.com/doTry-doCatch-with-original-message-tp5713695.html
Sent from the Camel - Users mailing list archive at Nabble.com.