You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/07/30 15:45:51 UTC

[jira] Created: (CAMEL-3016) Add operation to suspend/resume a route

Add operation to suspend/resume a route
---------------------------------------

                 Key: CAMEL-3016
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3016
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
    Affects Versions: 2.4.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.5.0


To make it easier to suspend a route, as you would have to do this on its consumer.

If you invoke stop on the route, it will unload processors and clear JMX stats and whatnot. So having a suspend/resume is more gentle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-3016) Add operation to suspend/resume a route

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61012#action_61012 ] 

Claus Ibsen commented on CAMEL-3016:
------------------------------------

trunk: 981180.

Work in progress

> Add operation to suspend/resume a route
> ---------------------------------------
>
>                 Key: CAMEL-3016
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3016
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> To make it easier to suspend a route, as you would have to do this on its consumer.
> If you invoke stop on the route, it will unload processors and clear JMX stats and whatnot. So having a suspend/resume is more gentle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-3016) Add operation to suspend/resume a route

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61005#action_61005 ] 

Claus Ibsen commented on CAMEL-3016:
------------------------------------

The shutdown operation in JMX should not unregister JMX Mbeans. Then after you have used it the route is gone :)

In fact we should let MBean unregister in a special method. Then end user can chose this if they want the JMX stuff gone.
And then CamelContext can just unregister the MBean at the end, which is does by default.

> Add operation to suspend/resume a route
> ---------------------------------------
>
>                 Key: CAMEL-3016
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3016
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> To make it easier to suspend a route, as you would have to do this on its consumer.
> If you invoke stop on the route, it will unload processors and clear JMX stats and whatnot. So having a suspend/resume is more gentle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-3016) Add operation to suspend/resume a route

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61013#action_61013 ] 

Claus Ibsen commented on CAMEL-3016:
------------------------------------

trunk: 981184.

Added operations to JMX to suspend/resume a route mbean

> Add operation to suspend/resume a route
> ---------------------------------------
>
>                 Key: CAMEL-3016
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3016
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> To make it easier to suspend a route, as you would have to do this on its consumer.
> If you invoke stop on the route, it will unload processors and clear JMX stats and whatnot. So having a suspend/resume is more gentle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-3016) Add operation to suspend/resume a route

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61018#action_61018 ] 

Claus Ibsen commented on CAMEL-3016:
------------------------------------

trunk: 981382.

Improved stop route to use graceful shutdown
Only routes which support suspension is suspended, if not it will fallback to start/stop the route.


> Add operation to suspend/resume a route
> ---------------------------------------
>
>                 Key: CAMEL-3016
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3016
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> To make it easier to suspend a route, as you would have to do this on its consumer.
> If you invoke stop on the route, it will unload processors and clear JMX stats and whatnot. So having a suspend/resume is more gentle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-3016) Add operation to suspend/resume a route

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61019#action_61019 ] 

Claus Ibsen commented on CAMEL-3016:
------------------------------------

Lifecycle operations in JMX not check state before use

trunk: 981401.

> Add operation to suspend/resume a route
> ---------------------------------------
>
>                 Key: CAMEL-3016
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3016
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> To make it easier to suspend a route, as you would have to do this on its consumer.
> If you invoke stop on the route, it will unload processors and clear JMX stats and whatnot. So having a suspend/resume is more gentle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-3016) Add operation to suspend/resume a route

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3016.
--------------------------------

    Resolution: Fixed

> Add operation to suspend/resume a route
> ---------------------------------------
>
>                 Key: CAMEL-3016
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3016
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> To make it easier to suspend a route, as you would have to do this on its consumer.
> If you invoke stop on the route, it will unload processors and clear JMX stats and whatnot. So having a suspend/resume is more gentle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-3016) Add operation to suspend/resume a route

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61017#action_61017 ] 

Claus Ibsen commented on CAMEL-3016:
------------------------------------

We should enforce a route must be stopped before you can shutdown and remove it, as a fail safe.

> Add operation to suspend/resume a route
> ---------------------------------------
>
>                 Key: CAMEL-3016
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3016
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> To make it easier to suspend a route, as you would have to do this on its consumer.
> If you invoke stop on the route, it will unload processors and clear JMX stats and whatnot. So having a suspend/resume is more gentle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.