Re: Define an array in simple

2015-08-13 Thread ablevine1
Thanks again. That made the code a bit cleaner. It took a minute to figure out the exact syntax but that makes the code now: ${body.mypropertytovalidate} in 'STRING1,STRING2,STRING3' -- View this message in context: http://camel.465427.n5.nabble.com/Define-an-array

Re: Define an array in simple

2015-08-13 Thread Claus Ibsen
ng my own solution. With the validate > DSL I was able to do the following instead: > > ${body.mypropertytovalidate} regex > '\b(STRING1|STRING2|STRING3)\b' > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Define-an-array-in-

Re: Define an array in simple

2015-08-13 Thread ablevine1
ew this message in context: http://camel.465427.n5.nabble.com/Define-an-array-in-simple-tp5770637p5770691.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Define an array in simple

2015-08-13 Thread Claus Ibsen
and I get an exception like the following: > Caused by: org.apache.camel.NoTypeConversionAvailableException: No type > converter available to convert from type: java.lang.String to the required > type: java.lang.String[] with value [string literal 1] > > Any help would be appreciated. > > > > -- >

Define an array in simple

2015-08-12 Thread ablevine1
: java.lang.String[] with value [string literal 1] Any help would be appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/Define-an-array-in-simple-tp5770637.html Sent from the Camel - Users mailing list archive at Nabble.com.