Hi all

I just noticed that other endpoints like "http4" do not trigger an 
ExchangeCompleted event but a ExchangeSendingEvent and ExchangeSentEvent.


Can anybody explain the rational/rule behind when ExchangeCompleted is used and 
when not?


Thanks

Oli

________________________________
Von: Oliver Wulff <[email protected]>
Gesendet: Dienstag, 18. Juli 2017 09:25:22
An: [email protected]
Betreff: Several ExchangeCompleted events within one route

Hi there


I was testing the EventNotifier functionality in Camel and noticed that for a 
single route there were several ExchangeCompleted events. One for every "<to 
uri=....".


I do something like this:

from("activemq:My.Queue").
  to("xslt:com/acme/mytransform.xsl").
  to("activemq:Another.Queue");



Does Camel create a new Exchange for every endpoint in my route? I do have in 
my route endpoints like xslt which I considered more as a pure transformation 
and not really and endpoint.


What is the reason that every endpoint is a separate Exchange?


Thanks

Oli


Reply via email to