I dont think an empty value is supported On Fri, Dec 2, 2016 at 3:59 PM, Karts <kartiksan...@gmail.com> wrote: > Sorry, to be clear, body.stringValue could be "", "gold", "silver", "bronze", > "platinum", etc. > > I am trying to test so that only "", "gold" or "silver" are allowed before > moving forward, which is why I have the comma at the start, to allow for a > blank (not null) value: > > .choice.when.simple("${body.stringValue} in ',gold,silver'") > > But I'm finding if body.stringValue="", it does not satisfy the condition. > Is there another way I can do this? > > Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Simple-IN-with-empty-value-in-list-tp5790907p5790926.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