[
https://issues.apache.org/jira/browse/SYNAPSE-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912887#action_12912887
]
Ruwan Linton commented on SYNAPSE-357:
--------------------------------------
Folks, we have the ability to specify properties in the endpoints now and I
have used that property to determine this.
You could now use the following configuration to build the message before
sending.
<endpoint>
<property name="PRESERVE_ENVELOPE" value="true"/>
</endpoint>
Ruwan
> Provide a switch to send mediator to specify whether to build the envelope
> before sending or not
> -------------------------------------------------------------------------------------------------
>
> Key: SYNAPSE-357
> URL: https://issues.apache.org/jira/browse/SYNAPSE-357
> Project: Synapse
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2
> Environment: all env
> Reporter: Ruwan Linton
> Assignee: Ruwan Linton
> Fix For: 2.0
>
> Attachments: patch.txt, synapse-357-2009-03-26.txt, synapse-357.patch
>
>
> Just before the 1.2 release we did a perf improvement where the envelope of
> the message being sent will not be built and use the serializeAndConsume
> method to achieve better performance.
> But when you are using this approach in sending messages you cannot do
> anything with the envelope after sending the message out. For example you
> cannnot log the message after sending it out. There fore it is worth in
> adding a switch to the Send mediator to specify the envelope building
> behavior.
--
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]