camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javaCzar <jma...@mimictechnologies.com>
Subject Enable disable routes at startup using Spring
Date Mon, 20 May 2013 20:44:00 GMT
Is there a way to get something like this to work:

<route autoStartup="${enableRoute}">

The value of the attribute is set to a valid parsible string representation
of a boolean (ie. "true" or "false") yet I keep getting the following error:

org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToCreateRouteException: Failed to create route
route8: Route[[From[quickfix:quickfix.cfg]] -> [Filter[s... because of Error
parsing [${enableRoute}] from property ${enableRoute} as a Boolean.

Any assistnace would be greatly appreciated.



--
View this message in context: http://camel.465427.n5.nabble.com/Enable-disable-routes-at-startup-using-Spring-tp5732852.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message