You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/09/28 10:17:07 UTC
[jira] [Created] (CAMEL-5660) Add option to @Consume, @Produce, et
all to let them tie lifecycle to CamelContext
Claus Ibsen created CAMEL-5660:
----------------------------------
Summary: Add option to @Consume, @Produce, et all to let them tie lifecycle to CamelContext
Key: CAMEL-5660
URL: https://issues.apache.org/jira/browse/CAMEL-5660
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.11.0
When using these annotations, you are in control of the lifecycle. But if you use a @Consume on a method its harder to stop the consumer.
We should offer an option on the annotation to tie it to the lifecycle of its CamelContext, so when the CamelContext is shutdown, they are shutdown as well.
The option should allow to turn this on|off.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CAMEL-5660) Add option to @Consume, @Produce, et
all to let them tie lifecycle to CamelContext
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5660.
--------------------------------
Resolution: Not A Problem
> Add option to @Consume, @Produce, et all to let them tie lifecycle to CamelContext
> ----------------------------------------------------------------------------------
>
> Key: CAMEL-5660
> URL: https://issues.apache.org/jira/browse/CAMEL-5660
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.11.0
>
>
> When using these annotations, you are in control of the lifecycle. But if you use a @Consume on a method its harder to stop the consumer.
> We should offer an option on the annotation to tie it to the lifecycle of its CamelContext, so when the CamelContext is shutdown, they are shutdown as well.
> The option should allow to turn this on|off.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5660) Add option to @Consume, @Produce,
et all to let them tie lifecycle to CamelContext
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465493#comment-13465493 ]
Claus Ibsen commented on CAMEL-5660:
------------------------------------
Singleton beans is auto closed, so it would only apply to prototype scoped which wont make much sense.
> Add option to @Consume, @Produce, et all to let them tie lifecycle to CamelContext
> ----------------------------------------------------------------------------------
>
> Key: CAMEL-5660
> URL: https://issues.apache.org/jira/browse/CAMEL-5660
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.11.0
>
>
> When using these annotations, you are in control of the lifecycle. But if you use a @Consume on a method its harder to stop the consumer.
> We should offer an option on the annotation to tie it to the lifecycle of its CamelContext, so when the CamelContext is shutdown, they are shutdown as well.
> The option should allow to turn this on|off.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira