You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Jonathan Anstey (JIRA)" <ji...@apache.org> on 2008/08/14 16:07:52 UTC
[jira] Updated: (CAMEL-770) allow a Spring Camel Context to be
booted up just to extract the route defintions
(camelContext.getRouteDefintions()) but not to actually process any routes
[ https://issues.apache.org/activemq/browse/CAMEL-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Anstey updated CAMEL-770:
----------------------------------
Attachment: maybeStartSpringCamelContext.patch
James,
Is this what you had in mind? It seems a bit too simple to me...
Anyway, if you wanna disable the SpringCamelContext from starting routes, just set the 'shouldStartContext' system property to false.
> allow a Spring Camel Context to be booted up just to extract the route defintions (camelContext.getRouteDefintions()) but not to actually process any routes
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-770
> URL: https://issues.apache.org/activemq/browse/CAMEL-770
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: James Strachan
> Fix For: 1.5.0
>
> Attachments: maybeStartSpringCamelContext.patch
>
>
> To visualise routes its kinda handy to just boot up a Camel Context and check everything configures correctly, then get the route configurations - rather than having to actually start all the routes up.
> i.e. to check the configuration works - and to apply any Java / Scala / XML route creation code - but not actually start any routes processing
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.