[jira] Created: (SYNAPSE-593) Specifying a receiving sequence for sent messages

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (SYNAPSE-593) Specifying a receiving sequence for sent messages

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


[jira] Updated: (SYNAPSE-593) Specifying a receiving sequence for sent messages

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/SYNAPSE-593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva updated SYNAPSE-593:
----------------------------------------

    Attachment: synapse_service_chaining.patch

A patch attached.

> 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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


[jira] Commented: (SYNAPSE-593) Specifying a receiving sequence for sent messages

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

indika priyantha kumara commented on SYNAPSE-593:
-------------------------------------------------

Spun we can do the service chaining with synapse .  one resource is [1] which does the message chaining with a proxy service. You should be able to do same thing even with the main sequence (put response true property and call the new service endpoint within the out mediator).

Could you please critically evaluate the existing approaches and your suggestions?  


[1]  http://adroitlogic.org/knowledge-base-synapse/11-message-chaining-with-synapse.html

> 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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


[jira] Commented: (SYNAPSE-593) Specifying a receiving sequence for sent messages

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ 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: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...