camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-3916) BeanProcessor - Do not attempt to convert to BeanInvocation as its unnessasary
Date Fri, 29 Apr 2011 15:44:03 GMT
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

Mime
View raw message