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

BeanProcessor - Do not attempt to convert to BeanInvocation as its unnessasary

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0
    • camel-core
    • None

    Description

      We can optimize BeanProcessor to not attempt to convert to BeanInvocation as its pointless. This just invokes a bit of overhead as Camel will try to attempt this.

      Instead we can optimize to use a old fashioned instanceof check, as the BeanInvocation payload would be stored directly as the message body.

      This actually also fixes CAMEL-3914.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: