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 you have the send mediator.
"

What exactly happens is that the Send mediator sends a non-blocking call to
the endpoint and the response hits the out sequence (OR receiving sequence
if defined). Mediators that follow the send mediator will be invoked
asynchronously. This is the same behavior of using a clone mediator as
explained by Jasintha.

Please find my comments inline as well.

On Wed, Jun 18, 2014 at 11:32 AM, Jasintha Dasanayake <[email protected]>
wrote:

> small correction !
>
> .....ideally flow should not continue after the send mediator ...
>
> /Jasintha
>
> On Wed, Jun 18, 2014 at 11:22 AM, Jasintha Dasanayake <[email protected]>
> wrote:
>
>>
>> Send mediator consider as leaf node of a particular mediation flow  so
>> ideally flow should not continue after send mediator.
>>
>
We have restricted adding mediators after a send mediator in Developer
studio, but this is supported in ESB. IMO, We need to stick to one of the
above practices (Either allowing mediators after send mediator OR use
cloning) and resolve the conflicts between Developer studio and ESB.

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 first, after that one copy of message can be
>> send while other copy of message continue the flow.
>>
>> Thanks
>> /Jasintha
>>
>>
>>
>>
>> On Wed, Jun 18, 2014 at 11:08 AM, Sohani Weerasinghe <[email protected]>
>> wrote:
>>
>>> 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  : https://twitter.com/sohanichristine
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Jasintha Dasanayake *
>>
>> *Senior Software EngineerWSO2 Inc. | http://wso2.com <http://wso2.com/>
>> lean . enterprise . middleware*
>>
>>
>> *mobile :- 0711368118*
>>
>
>
>
> --
>
> *Jasintha Dasanayake *
>
> *Senior Software EngineerWSO2 Inc. | http://wso2.com <http://wso2.com/>
> lean . enterprise . middleware*
>
>
> *mobile :- 0711368118*
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>

Thanks,

-- 
*Gayan Kaushalya Yalpathwala*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 71 8682704 <http://asia14.wso2con.com/>

<http://asia14.wso2con.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to