camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javaCzar <>
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.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:
Sent from the Camel - Users mailing list archive at

View raw message