synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charith Dhanushka Wickramarachchi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SYNAPSE-357) Provide a switch to send mediator to specify whether to build the envelope before sending or not
Date Thu, 19 Mar 2009 05:03:50 GMT

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

Charith Dhanushka Wickramarachchi updated SYNAPSE-357:
------------------------------------------------------

    Attachment: patch.txt

patch to resolve this issue

as Suggested to make enable the users to configure Send Mediator users can set the attribute
in synapse

<send buildEnv="true"/>

default case is fault in this (by default send mediator will not build the Envelop before
sending)

please review and apply

thank you,
Charith 


> 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
>         Attachments: patch.txt
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message