Re: Using an Expression for the delayer in the Scala DSL

2013-09-05 Thread cflockhart
I'm using Camel 2.11.1. I'd looked at the 2.11 branch and it didn't look too hard to add it so I'll have a go at a patch. However, if we want to use a released version of Camel, is the approach of overriding onJavaBuilder() the way to go? thanks! -- View this message in context: http://camel

Using an Expression for the delayer in the Scala DSL

2013-09-05 Thread cflockhart
Hi, It seems that only a fixed Period for the delay can be used in the Scala DSL. I want to have different values for test and production (a 1 hour message delay is no good when running unit tests). It's possible to use an expression in the Java DSL though.. so is one way to do this to override onJ