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

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated: