Ah you are using groovy - you didnt tell. Or i didnt spot it. groovy thinks ${ } is a gstring.
So use $simple{ xxx } to use the camel simple language syntax On Thu, Jul 24, 2014 at 3:33 PM, arnoldmad <arn...@maderthaner.me> wrote: > Thats the same thing I already tried with the following problem afterwards: > route: > > .when(simple("${properties:pix.iti9.url} != 'DISABLED'")) > > > Caused by: groovy.lang.MissingPropertyException: No such property: pix for > class: com.test.ClientRoute > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Use-Properties-in-a-Predicate-tp5754392p5754394.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/