camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dunnlow <dunn...@yahoo.com>
Subject Re: Accessing a Map header via Simple?
Date Wed, 01 Feb 2012 14:45:27 GMT
The answer for anyone else wondering: it turns out that the method above is
correct.  To access a Map contained in the header, you can use
<simple>${in.header.?<mapname>[<mapkey>]}</simple>  No quotes around
the
mapkey.  Also, the .? seems to work too.  nice.

--
View this message in context: http://camel.465427.n5.nabble.com/Accessing-a-Map-header-via-Simple-tp5445155p5447696.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message