You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2012/10/23 09:49:12 UTC

[jira] [Resolved] (CAMEL-5734) Cold restart via JMX

     [ https://issues.apache.org/jira/browse/CAMEL-5734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-5734.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11.0

Applied the patch into trunk with thanks to Daniel.
                
> Cold restart via JMX
> --------------------
>
>                 Key: CAMEL-5734
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5734
>             Project: Camel
>          Issue Type: New Feature
>          Components: jmx
>    Affects Versions: 2.10.1
>            Reporter: Daniel Gredler
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.11.0
>
>         Attachments: jmx-restart.patch
>
>
> Camel supports both warm and cold restarts for a couple of years now (see CAMEL-3012). However, cold restart is not possible via JMX because calling stop() shuts down the JMX service, and it becomes impossible to call start().
> I propose to add support for cold restarts via JMX by adding a restart() method to ManagedCamelContextMBean and ManagedCamelContext, which internally just calls stop() and then start().
> I'm attaching a patch with the proposed implementation and a test case.

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