Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-50

Flag to bypass eip-enrichment response wrapping

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2013.02
    • servicemix-eip
    • None
    • all

    • Patch Available

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdeppen Jeff Deppen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: