You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by VBPVB <Vi...@infosys.com> on 2007/08/21 13:00:35 UTC
Exchange Listeners
Hi all,
Can we control flow of messages(request flow) if we have interceptors using
the ExchangeListeners?
regards,
Vijaya Bhaskar
--
View this message in context: http://www.nabble.com/Exchange-Listeners-tf4304475s12049.html#a12252466
Sent from the ServiceMix - User mailing list archive at Nabble.com.
RE: Exchange Listeners
Posted by Vijaya Bhaskar Peddinti <Vi...@infosys.com>.
Hi Guillaume,
Thanks a lot.
Regards,
Vijaya Bhaskar Peddinti
-----Original Message-----
From: Nodet Guillaume [mailto:gnodet@gmail.com]
Sent: Wednesday, August 22, 2007 12:55 PM
To: servicemix-users@geronimo.apache.org
Subject: Re: Exchange Listeners
If you want to change the target of the exchange, it should be doable
if you intercept the exchange when it is sent. You need to implement
an o.a.s.jbi.event.ExchangeListener and implement the exchangeSent
method. The routing is done after the method is called, so you will
be able to change the target if you want.
Cheers,
Guillaume Nodet
On Aug 21, 2007, at 1:00 PM, VBPVB wrote:
>
> Hi all,
>
> Can we control flow of messages(request flow) if we have
> interceptors using
> the ExchangeListeners?
>
> regards,
> Vijaya Bhaskar
> --
> View this message in context: http://www.nabble.com/Exchange-
> Listeners-tf4304475s12049.html#a12252466
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: Exchange Listeners
Posted by Nodet Guillaume <gn...@gmail.com>.
If you want to change the target of the exchange, it should be doable
if you intercept the exchange when it is sent. You need to implement
an o.a.s.jbi.event.ExchangeListener and implement the exchangeSent
method. The routing is done after the method is called, so you will
be able to change the target if you want.
Cheers,
Guillaume Nodet
On Aug 21, 2007, at 1:00 PM, VBPVB wrote:
>
> Hi all,
>
> Can we control flow of messages(request flow) if we have
> interceptors using
> the ExchangeListeners?
>
> regards,
> Vijaya Bhaskar
> --
> View this message in context: http://www.nabble.com/Exchange-
> Listeners-tf4304475s12049.html#a12252466
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>