camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From harald <sunny...@rainyday.de>
Subject Re: Routing based on exchange header content-type
Date Wed, 20 Aug 2014 13:53:24 GMT
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 <claus.ibsen@gmail.com> 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: cibsen@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/


Mime
View raw message