Re: [Dev] Adding Mediators after the Send Mediator

2014-06-18 Thread Udara Liyanage
As Gayan mentioned send is async and if a mediator like log mediator is placed after send it will be invoked. However if we log something like "body" of the message we might see unexpected result in case message is already sent. Touched, not typed. Erroneous words are a feature, not a typo. _

Re: [Dev] Adding Mediators after the Send Mediator

2014-06-17 Thread Gayan Yalpathwala
Hi all, Quoting Nirmal.. "AFAIK in a send mediator you can specify a receiving sequence, which will get invoked after receiving the response from the endpoint. So, the only reason I can imagine is to handle a scenario where the mediation goes to a receiving sequence and come back to the sequence y

Re: [Dev] Adding Mediators after the Send Mediator

2014-06-17 Thread Sohani Weerasinghe
Thanks all for the responses. Regards, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Wed, Jun 18, 2014 at 11:32 AM, Jasintha Dasanayake wrote: >

Re: [Dev] Adding Mediators after the Send Mediator

2014-06-17 Thread Jasintha Dasanayake
small correction ! .ideally flow should not continue after the send mediator ... /Jasintha On Wed, Jun 18, 2014 at 11:22 AM, Jasintha Dasanayake wrote: > > Send mediator consider as leaf node of a particular mediation flow so > ideally flow should not continue after send mediator. if some

Re: [Dev] Adding Mediators after the Send Mediator

2014-06-17 Thread Jasintha Dasanayake
Send mediator consider as leaf node of a particular mediation flow so ideally flow should continue after send mediator. if some want to continue mediation flow after invoke a external call the call mediator should be used , if user expect result in the out sequence then message should be clone fi

Re: [Dev] Adding Mediators after the Send Mediator

2014-06-17 Thread Nirmal Fernando
AFAIK in a send mediator you can specify a receiving sequence, which will get invoked after receiving the response from the endpoint. So, the only reason I can imagine is to handle a scenario where the mediation goes to a receiving sequence and come back to the sequence you have the send mediator.

[Dev] Adding Mediators after the Send Mediator

2014-06-17 Thread Sohani Weerasinghe
Hi All, ESB allows to add mediators after the send mediator. Can someone state the use of adding mediators after the send mediator? Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter :