Hello Claus, yes you are right. But anyway it does not work. Only my last two test scenarios had this typo and so I retried them.
Is there a restriction that under some circumstances the headers are not available? Thanks for helping! harald On 20 Aug 2014, at 07:24, Claus Ibsen <[email protected]> wrote: > There is a missing } in your simple expression, you need that to end > the left hand side > > <simple>${in.headers[‘Content-Type’]} == ‘application/json’</simple> > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: [email protected] > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > hawtio: http://hawt.io/ > fabric8: http://fabric8.io/
