This content has been marked as final.
Show 2 replies
-
1. Re: How do I reference a property I defined in a camel context
davsclaus Nov 23, 2010 5:47 AM (in response to futuredan)The properties component works with properties file.
The is for system level options such as configuring encoding, limit on logging details etc. Its not for per application properties.
If you want to define the property in Spring XML then define a bean as a java.util.Properties (or use the special Spring XML namespace for that, see spring docu).
And then refer to it from the properties location
See docu here
http://camel.apache.org/properties
section Using a Properties from the Registry
-
2. Re: How do I reference a property I defined in a camel context
futuredan Nov 23, 2010 12:06 PM (in response to davsclaus)Thanks for the clarification.
No wonder it wasn't working.