[
https://issues.apache.org/jira/browse/SYNAPSE-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Isuru Udana Loku Narangoda updated SYNAPSE-943:
-----------------------------------------------
Attachment: SYNAPSE-943.patch
Attached patch prevents the message getting built always when endpoint format
is set to "rest".
Now the message get built only if there is a content aware mediator is present
in the mediation flow.
If there is a message format conversion from SOAP to REST happens within the
mediation flow, we usually set the messageType property which is a
content-aware property.
So it is safe not to built message always when endpoint format is set to "rest"
and allow rest passthrough scenario.
> [PT] Message always get built when endpoint format is set to "rest"
> -------------------------------------------------------------------
>
> Key: SYNAPSE-943
> URL: https://issues.apache.org/jira/browse/SYNAPSE-943
> Project: Synapse
> Issue Type: Bug
> Components: Transports
> Reporter: Isuru Udana Loku Narangoda
> Priority: Critical
> Attachments: SYNAPSE-943.patch
>
>
> Currently when endpoint format is set to "rest" message get built always.
> Message should get built only if there is a change to the payload in the
> mediation flow.
> The current logic prevents rest passthrough scenario where we only do parsing
> the rest requests changing "REST_URL_POSTFIX" etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]