Daniel Gredler created CAMEL-5734:
-------------------------------------
Summary: 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
Priority: Minor
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