Re: org.apache.camel.spi.Synchronization contract

2013-11-20 Thread Claus Ibsen
Yes when the exchange is done being routed the Synchroniztion is called. This happens when the UoW of the Exchange is done. The Camel in Action book, chapter 9, section 9.5 covers this in much more details. On Wed, Nov 20, 2013 at 7:56 AM, Siano, Stephan wrote: > Hi, > > I have a question about

org.apache.camel.spi.Synchronization contract

2013-11-19 Thread Siano, Stephan
Hi, I have a question about a Synchronization object installed to an exchange with exchange.addOnCompletition(): Is there a known execution path that neither the onComplete() nor the onFailure() method are called after an exchange has ended (e.g. in conjunction with some onException handler)?