You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2009/12/23 06:11:43 UTC

[jira] Updated: (SMXCOMP-50) Flag to bypass eip-enrichment response wrapping

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

Gert Vanthienen updated SMXCOMP-50:
-----------------------------------

    Fix Version/s:     (was: servicemix-eip-2009.02)
                   servicemix-eip-2010.01

> Flag to bypass eip-enrichment  response wrapping
> ------------------------------------------------
>
>                 Key: SMXCOMP-50
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-50
>             Project: ServiceMix Components
>          Issue Type: New Feature
>          Components: servicemix-eip
>         Environment: all
>            Reporter: Jeff Deppen
>             Fix For: servicemix-eip-2010.01
>
>         Attachments: ContentEnricher.java
>
>
> Currently eip-enricher returns a response that wraps the original message and the resultant (enriched) message.  This behavior is fairly intrusive on downstream endpoints;  they must parse the message differently  depending upon if the message was enriched or not.
> The new flag allows the  wrapping logic to be bypassed.  The net result is the enricher will send the original message, with enrichments, on to the target.
> I'm attaching the source code for the fix/enhancement.  The new content-enricher attribute name is: wrapResult.  If true, it bypasses wrapping.  The default of false produces the wrapped result.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.