I'm using a similar setup as Lorrin; using Spring to inject properties into a route. The injected properties are just Strings and Integers that are defined as beans in the ApplicationContext and populated through Spring's PropertyPlaceholder.
However, this is just a temporary solution until i've upgraded Camel to version >= 2.3. If your using Camel 2.3 or higher you should checkout Camel's own PropertyPlaceholder: http://camel.apache.org/properties.html. It allows you to configure stuff like: from("direct:example").to("jdbc:{{db.host}}{{db.port}}") Where "db.host" and "db.port" are loaded from an environment specific *.properties file. -- View this message in context: http://camel.465427.n5.nabble.com/Managing-configuration-in-components-routes-projects-tp2850288p2852055.html Sent from the Camel - Users mailing list archive at Nabble.com.