I need to dynamically configure some Camel route properties (http endpoint URL, etc) based on a properties file. What is the best way to do this?
I thought I could create a local.properties file and use Spring's PropertyPlaceholderConfigurer, but I'm not sure how this works with Camel DSL exactly... here is what I have today... local.properties file with a property "inboundURL=http://test.com" MyRouteBuilder.java with a hardcoded URL String inboundURL = "http://test.com" //TODO: need to be from prop file ... from("jetty:" + inboundURL) .to("activemq:GatewayMsgQueue"); ... thanks ----- Ben O'Day Vektrel - Senior Consultant -- View this message in context: http://www.nabble.com/pass-properties-into-SMX-Camel-Route-tp24610703p24610703.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
