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

Andreas Veithen commented on SYNAPSE-357:
-----------------------------------------

Is there no possibility to switch to this optimization automatically, e.g. by 
checking whether the send mediator is the last mediator in the sequence?

> 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
>
> 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]

Reply via email to