camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From greenstar <jnorri...@gmail.com>
Subject Re: Help with InOut http exchange:
Date Sun, 28 Mar 2010 05:42:36 GMT


Claus Ibsen-2 wrote:
> 
> The EIP patterns is a good place to look
> http://camel.apache.org/enterprise-integration-patterns.html
> 
> For example the WireTap
> 

Thanks.  I think onCompletion is what I'm looking for.

However, all the examples  http://camel.apache.org/oncompletion.html here 
use the following form:

from(...)
.onCompletion()...end()
.to(...)

However when I use this form the onCompletion is never executed.  However,
when I use the following form instead, it works fine.

.from(...)
.to(...)
.onCompletion()...end()

I am confused as to why the first form didn't work as the docs seems to
indicate it would, and I'm also confused as to why the second form did work.

Note: I am using Camel 2.2.0.

Thanks
-- 
View this message in context: http://old.nabble.com/Help-with-InOut-http-exchange%3A-tp28050045p28057307.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message