[
https://issues.apache.org/jira/browse/CAMEL-8439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14348314#comment-14348314
]
ASF GitHub Bot commented on CAMEL-8439:
---------------------------------------
GitHub user yuruki opened a pull request:
https://github.com/apache/camel/pull/419
CAMEL-8439 Use setAutoStartup(false) instead of skipping start()
https://issues.apache.org/jira/browse/CAMEL-8439
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yuruki/camel scr-use-autostart
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/419.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #419
----
commit b331c7a074d09c9350efd1c1573aaf1865ebc79a
Author: Jyrki Ruuskanen <[email protected]>
Date: 2015-03-04T19:06:31Z
Use setAutoStartup(false)
----
> Use setAutoStartup(false) instead of skipping start()
> -----------------------------------------------------
>
> Key: CAMEL-8439
> URL: https://issues.apache.org/jira/browse/CAMEL-8439
> Project: Camel
> Issue Type: Improvement
> Components: camel-scr
> Reporter: Jyrki Ruuskanen
> Priority: Minor
>
> Instead of skipping Camel context's start() when active property is false, we
> should call Camel context's setAutoStartup(false). This way Camel context
> will start without starting any of the routes, and allows us to see and
> control the "inactive" context through JMX/Jolokia/hawtio.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)