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 (Updated) (JIRA)" <ji...@apache.org> on 2011/12/07 12:18:44 UTC
[jira] [Updated] (SMXCOMP-50) Flag to bypass eip-enrichment
response wrapping
[ https://issues.apache.org/jira/browse/SMXCOMP-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen updated SMXCOMP-50:
-----------------------------------
Fix Version/s: (was: 2011.02)
2012.01
Deferring to 2012.01
> Flag to bypass eip-enrichment response wrapping
> ------------------------------------------------
>
> Key: SMXCOMP-50
> URL: https://issues.apache.org/jira/browse/SMXCOMP-50
> Project: ServiceMix Components
> Issue Type: New Feature
> Components: servicemix-eip
> Environment: all
> Reporter: Jeff Deppen
> Fix For: 2012.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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira