camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javaCzar <>
Subject Re: Enable disable routes at startup using Spring
Date Wed, 22 May 2013 17:34:40 GMT

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 

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="">

and some-context-prod.xml defines:
<routeContext id="aContext" xmlns="">

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message