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
Willem,
I am loading the properties in a bean:
bean id=propLoader class=com.aaa.bbb.ccc.PropLoader/
public class PropLoader extends BridgePropertyPlaceholderConfigurer {
...
Properties props = new Properties();
for (String prop : myProperties.getPropertyNames()) {
Willem,
My error in the last post. Your assitance with the {{xxx}} naming was
correct. The variable is being set correctly and can be accessed bia this
naming.
I thought is was not working because what I am seeing that with
autoStartup=false the endpoint still initializes, just the incoming data
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: