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/09/21 16:18:41 UTC

[jira] Resolved: (CAMEL-3141) Route autoStartup configurable through Property

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

Claus Ibsen resolved CAMEL-3141.
--------------------------------

    Resolution: Fixed

trunk: 999428.

> Route autoStartup configurable through Property
> -----------------------------------------------
>
>                 Key: CAMEL-3141
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3141
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core, camel-spring
>    Affects Versions: 2.4.0
>            Reporter: Achim Nierbeck
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> Using Camel 2.4 I want to make the usage of a certain route configurable through properties. 
> {code}
> <camelContext id="camel" trace="true"
> 	xmlns="http://camel.apache.org/schema/spring">
> 	
> 	<route id="configurable_1" autoStartup="{{startup_1}}">
> 		<from uri="direct:start_1"/>
> 		<to uri="mock:end_1"/>
> 	</route>
> 		
> 	<route id="configurable_2" autoStartup="{{startup_2}}">
> 		<from uri="direct:start_2"/>
> 		<to uri="mock:end_2"/>
> 	</route>
> </camelContext>
> {code}
> But if I do use the PropertyPlaceholder on the CamelContext like below it works. 
> {code}
> <camelContext id="camel" trace="true" autoStartup="{{startup_context}}"
> {code}
> So is this a bug or should this work this way?

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