Hello,
I have troubles with properties files in Camel.
I know how to define bean with location property to my properties
file, then I can use it in camel context with {{key.something}}.
I'd expect that it's working in the same way also outside the camel
context, I tried also different syntaxe - ${key.something} - but, this
is not working.
Complete example:
<blueprint>
<bean id="properties"
class="org.apache.camel.component.properties.PropertiesComponent">
<property name="location" value="classpath:my.properties"/>
</bean>
<bean id="myBean" class="my.Bean">
<property name="something" value="${key.something}" /> <!--
not working :( -->
</bean>
<camelContext>
</camelContext
</blueprint>
Is there a possibility to use one properties file both inside and
outside camel context?
Thanks!
--
S pozdravem
Martin Stiborský
Jabber: [email protected]