[
https://issues.apache.org/jira/browse/CAMEL-5690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226228#comment-15226228
]
Luca Burgazzoli edited comment on CAMEL-5690 at 4/5/16 1:17 PM:
----------------------------------------------------------------
My first suggestion would work for
{code}bean(myBean, "myMethod"){code}
but not for
{code}to("bean:myBean?method=myMethod)"){code}
Should the bean be started by BeanProducer ?
was (Author: lb):
That would work for
{code}bean(myBean, "myMethod"){code}
but not for
{code}to("bean:myBean?method=myMethod)"){code}
Should the bean be started by BeanProducer ?
> Using bean component with beans that implement Service from Camel should have
> the lifecycle callbacks invoked
> -------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-5690
> URL: https://issues.apache.org/jira/browse/CAMEL-5690
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Luca Burgazzoli
> Priority: Minor
> Fix For: Future
>
>
> See nabble
> http://camel.465427.n5.nabble.com/lifecycle-of-components-tp5720371.html
> If an user has a bean that implements org.apache.camel.Service we should
> invoke the start|stop methods on its when the route is being started|stopped.
> as we do for Processor et all.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)