Willem,
Thanks for the assist. To aid anyone else that might follow this trhead,
here is what I ended up implementing:
start applicaiton with something like -Denvironment=dev or
-Denvironment=prod
main context xml uses:
<import resource="some-context-${environment}.xml"/>
to import either "some-context-dev.xml" or "some-context-prod.xml"
some-context-dev.xml defines:
<routeContext id="aContext" xmlns="http://camel.apache.org/schema/spring">
</routeContext>
and some-context-prod.xml defines:
<routeContext id="aContext" xmlns="http://camel.apache.org/schema/spring">
</routeContext>
--
View this message in context:
http://camel.465427.n5.nabble.com/Enable-disable-routes-at-startup-using-Spring-tp5732852p5732975.html
Sent from the Camel - Users mailing list archive at Nabble.com.