[ https://issues.apache.org/jira/browse/CAMEL-11375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-11375: -------------------------------- Attachment: Screen Shot 2017-06-01 at 10.23.06.png > Optimise - BeanProcessor - Make light-weight not as service > ----------------------------------------------------------- > > Key: CAMEL-11375 > URL: https://issues.apache.org/jira/browse/CAMEL-11375 > Project: Camel > Issue Type: Improvement > Components: camel-core > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.20.0 > > Attachments: Screen Shot 2017-06-01 at 10.23.06.png > > > When calling a bean from a Camel route we can optimise to let BeanProcessor > be used in a lighter-way without being a service as we dont need to keep its > state, as its a one-time use object only being used to invoke the bean and > discarded afterwards. > Where as a service is more intended for long time lifecycle which has state > to start/stop etc. -- This message was sent by Atlassian JIRA (v6.3.15#6346)