[ 
https://issues.apache.org/jira/browse/SYNAPSE-593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774867#action_12774867
 ] 

Supun Kamburugamuva commented on SYNAPSE-593:
---------------------------------------------

Yes I thought about this approach as well. But if we want to call several 
services based on the previous result then we have to implement a complex logic 
in the out mediator to filter out what are the responses for the particular 
request messages. 

But with my approach the logic is clean and easy to implement. Also in some 
cases we may not be able to determine what are the responses for some requests. 

The way service chaining done in the example you've mentioned seems like a 
hacked up way. Not something supported and embraced by synapse. 

Thanks,
Supun..

> Specifying a receiving sequence for sent messages 
> --------------------------------------------------
>
>                 Key: SYNAPSE-593
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-593
>             Project: Synapse
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Supun Kamburugamuva
>         Attachments: synapse_service_chaining.patch
>
>
> If a receiving sequence is specified for send mediator, the response can be 
> directed to this sequence. This way we can achieve service chaining with 
> normal non-blocking transport calls. 
> I'm attaching a patch that introduce this feature. Please have a look and 
> provide your feed back. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to