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-in-simple-tp5770637p5770701

Re: Define an array in simple

2015-08-13 Thread Claus Ibsen
Hi I think there is an IN function in simple also that ought to support this check too Den torsdag den 13. august 2015 skrev ablevine1 : > Thanks for getting back to me about this. Too bad that array creation is > not > supported. What I was trying to do with my bean method was to provide > v

Re: Define an array in simple

2015-08-13 Thread ablevine1
Thanks for getting back to me about this. Too bad that array creation is not supported. What I was trying to do with my bean method was to provide validation to check whether or not one of the properties of my object was equal to one of the values in the array. I just found an alternate solutio

Re: Define an array in simple

2015-08-13 Thread Claus Ibsen
Hi Arrays is not supported with [] etc. On Thu, Aug 13, 2015 at 12:40 AM, ablevine1 wrote: > I have found lots of documentation on how to manipulate an array in simple > but none on how to create one. Is this possible? I have a bean with method > whose first parameter is an object second pa