Hi, http://servicemix.apache.org/maven/servicemix-core/apidocs/org/apache/servicemix/MessageExchangeListener.html
"If a Component implements this interface, MessageExchange will be delivered directly to the listener asynchronously rather than using the usual asynchronous delivery with a thread used up per consuming component." Basically what I'm looking for is kind of a synchronous Wiretap pattern without modifying the sender or EIP pattern in use. What I want to achieve is an intercepting model to plug in different aspects in AOP style. BR, - Jussi - On Mon, Sep 22, 2008 at 10:43 AM, Guillaume Nodet <[EMAIL PROTECTED]> wrote: > No, the listeners are invoked synchronously. > Where did you found this misleading documentation, it should be fixed ? > > On Mon, Sep 22, 2008 at 9:26 AM, Jussi Nummelin > <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Looking at the documentation it seems that the ExchangeListener works >> in async mode (respect to the original message exchange), is that >> correct? >> >> Is there any way to configure it to work in synchronous way, i.e. the >> MEX would be delivered only after the listener is finished processing? >> >> >> BR, >> - Jussi - >> > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://open.iona.com >
