camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Simple IN with empty value in list
Date Fri, 02 Dec 2016 08:12:12 GMT
You have a comma before gold. It should just be 'gold,silver'

On Thu, Dec 1, 2016 at 11:33 PM, Karts <kartiksankar@gmail.com> wrote:
> Hi,
>
> I'm trying to use simple to test for an empty value in a list, so something
> like:
>
> simple("${body.stringValue} in ',gold,silver'")
>
> It doesn't seem to work though, if body.stringValue is '' this fails.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Simple-IN-with-empty-value-in-list-tp5790907.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message