Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11366

Optimise - bean component result - only need to propagate headers if really needed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • camel-core
    • None
    • Unknown

    Description

      In the org.apache.camel.language.bean.BeanExpression.InvokeProcessor we propagate headers etc after the invoking the bean.

      However as most times the output is just for the message body, then any headers etc is not needed to be propagated.

      Only if the bean has bean parameter bindings that gives direct access to headers for manipulation then we would need to copy over these.

      Attachments

        Activity

          People

            Unassigned Unassigned
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: