What camel version do you use, and what do you have as input and get as output
On Thu, May 25, 2023 at 8:23 AM Michael Rambichler <mich...@rambichler.at> wrote: > Hi all, > > I am struggling with a simple "Simple" Language OGNL use: > > I would like to replace a String with a regex via simple > Please see the following example: > > .setHeader("result", simple("${header.CamelFileName.replaceAll('^.*.pdf', > 'Hello')}")) > > But it does not work at all. Do I miss something? > > Thanks for any help > Michael > -- Claus Ibsen ----------------- @davsclaus Camel in Action 2: https://www.manning.com/ibsen2