Hi

If you want to refer to a bean in the registry then use ref: eg

<simple>${body.get("KEY")} in ${ref:listRef}</simple>

Then it works fine.



On Thu, Jun 20, 2013 at 10:05 PM, javamonkey79 <javamonke...@gmail.com> wrote:
> Is it possible to do a list.contains in the simple language?
>
> I had something like this:
>
> <simple>${body.get("KEY")} in ${bean:listRef}</simple>
>
> But it did not work. (My body object was a Map, listRef was an ArrayList).
>
> Thinking back, the only thing that I might have done wrong is that the Map
> was <String, Object> whereas the ArrayList was <String> - maybe that caused
> the mismatch?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/List-contains-in-Simple-tp5734458.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to