You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2008/10/21 09:34:52 UTC

[jira] Updated: (SM-1125) Flag to bypass eip-enrichment response wrapping

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

Freeman Fang updated SM-1125:
-----------------------------

    Fix Version/s: 3.3.1
                   3.4
                       (was: 3.3)
                       (was: 3.2.3)

> Flag to bypass eip-enrichment  response wrapping
> ------------------------------------------------
>
>                 Key: SM-1125
>                 URL: https://issues.apache.org/activemq/browse/SM-1125
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: servicemix-eip
>         Environment: all
>            Reporter: Jeff Deppen
>             Fix For: 3.3.1, 3.4
>
>         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.