Claus Ibsen created CAMEL-11375:
-----------------------------------

             Summary: 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


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)

Reply via email to