camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5690) Using bean component with beans that implement Service from Camel should have the lifecycle callbacks invoked
Date Sat, 11 Jul 2015 13:44:04 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623397#comment-14623397
] 

Claus Ibsen commented on CAMEL-5690:
------------------------------------

We should likely detect that the bean class implements Service in BeanDefinition and add some
flag to BeanProcessor so it can start/stop the bean.

> 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: Claus Ibsen
>            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)

Mime
View raw message