Hi
Have you seen the docs about property placeholders
http://camel.apache.org/using-propertyplaceholder.html
And you can use {{ }} or the properties-location function of simple
http://camel.apache.org/simple
On Fri, Jul 10, 2015 at 7:58 PM, Nadtech <[email protected]> wrote:
> I set up the property configurer using jasypt:
>
> <bean id="properties"
> class="org.jasypt.spring.properties.EncryptablePropertyPlaceholderConfigurer">
> <constructor-arg ref="configurationEncryptor"/>
> <property name="location" value="file:${tier}.properties"/>
> </bean>
>
>
> I have the following simple expression in my Spring route:
> <simple>${in.body} regex '^1.00(.)+'</simple>
>
> I placed a regex pattern entry in the property file as follows:
> regex.pattern='^1.00(.)+'
>
> Tried a couple of ways of changing the simple expression to pick it up but
> have been unsuccessful.
>
> Any advice would be much appreciated. Thanks.
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/regex-pattern-derived-from-property-file-tp5769123.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/