Hi See the migration guide, you should use ${xxx} around the simple tokens, such as header etc.
On Sat, May 2, 2020 at 5:28 AM Vikas Jaiswal <vika...@saksoft.com> wrote: > > I am trying to use simple and have the following in spring xml: > > <simple>"header? contains 'HeaderName' and header.HeaderName = > 'TEST'"</simple> > > This always evaluated to true irrespective of the value of HeaderName. > > What am I doing wrong here? > > > > Regards, > Vikas > -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2