You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Miyuru Wanninayaka (JIRA)" <ji...@apache.org> on 2011/06/01 14:27:47 UTC
[jira] [Issue Comment Edited] (SYNAPSE-776) Support sending
response from Send mediator without aditional property and header
mediators.
[ https://issues.apache.org/jira/browse/SYNAPSE-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042128#comment-13042128 ]
Miyuru Wanninayaka edited comment on SYNAPSE-776 at 6/1/11 12:25 PM:
---------------------------------------------------------------------
Patch for synapse-trunk
was (Author: miyuru):
Patch for synapse-trunk/modules/core
> Support sending response from Send mediator without aditional property and header mediators.
> --------------------------------------------------------------------------------------------
>
> Key: SYNAPSE-776
> URL: https://issues.apache.org/jira/browse/SYNAPSE-776
> Project: Synapse
> Issue Type: Improvement
> Reporter: Miyuru Wanninayaka
> Attachments: SYNAPSE-776.diff
>
>
> As current implementation, if need to send a message as response, user need to manipulate To header and set response = true property and add a empty <send/> mediator after that. With this improvement, sending a response can be expressed as <send response="true"/> and send mediator will internally handle all header and property manipulation and send message as a response to client.
> This is very useful when creating fault sequences.
> --
> Miyuru
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org