camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarun Kumar <>
Subject Is onFinally() compulsory after doCatch()?
Date Tue, 02 Jul 2013 05:50:55 GMT
my route looks like this:


My questions are:

1. is .doFinally compulsory after doCatch()?
2. In my case, how does route know whether second .to() in line 4 is inside
doCatch() or after doCatch()?
3. I am using cxfrs component, why is my exchange body not being returned
back to caller. Caller is seeing 204 no content found. While, when i remove
doTry and doCatch() with same code, caller is able to see proper response
(exchange body, status and all). Why is that?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message