On Tue, Dec 6, 2011 at 11:57 PM, Castyn <eric.ben...@gmail.com> wrote: > Is there a way to do it simply through the spring DSL though? >
Not from Camel itself. You would need to use a scripting language. Or create a java bean, that returns the date, and then use the bean/method call expression from the Spring DSL. > I guess I could create a custom processor that just passes on the headers > and body after adding a new header with this code in it, but that seems like > overkill for this situation. > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Date-String-Creation-tp5052753p5053745.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/