BeanProcessor - Do not attempt to convert to BeanInvocation as its unnessasary
------------------------------------------------------------------------------
Key: CAMEL-3916
URL: https://issues.apache.org/jira/browse/CAMEL-3916
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Priority: Minor
Fix For: 2.8.0
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira