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.

Reply via email to