camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Kettelerij <>
Subject Re: Managing configuration in components, routes, projects
Date Thu, 23 Sep 2010 23:44:41 GMT

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

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: It
allows you to configure stuff like:


Where "" and "db.port" are loaded from an environment specific
*.properties file.

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

View raw message