camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dermoritz <tantea...@hotmail.com>
Subject Re: Camel ExchangeCompletedEvent vs. RoutePolicy.onExchangeDone
Date Thu, 01 Oct 2015 07:27:59 GMT
Thanks for your quick reply Claus,

my problem is that from inside ExchangeCompletedEvent or onExchangeDone i
don't know if it is the original exchange or a split exchange. Or: How to
know if an exchange is the "original exchange"?
(i know how to detect if a splitter is done, but in my case i only want to
know about "original message")

To come back to this threads title: Are there semantic differences between
ExchangeCompletedEvent and RoutePolicy.onExchangeDone? 

In meantime i also looked into Camel in Action (a very nice book) and i read
about "onCompletion" synchronization callbacks i am not sure if those are
better options for my use case:

camel is called inside another infrastructure (java app that do many other
things) and i want camel to call back to this infrastructure if the
"original message" is done.






--
View this message in context: http://camel.465427.n5.nabble.com/Camel-ExchangeCompletedEvent-vs-RoutePolicy-onExchangeDone-tp5772140p5772142.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message