Are you using spring?  Creating arrays from properties is built in.

On Nov 8, 2016 3:07 PM, "imranrazakhan" <imranrazak...@gmail.com> wrote:

> HI,
>
> I want to convert value to array but couldn't get any idea from docs
>
> // properties
> cool.foo=a,b,c
>
>
> // route
> from("direct:start")
>   .setHeader("myList",  simple(" ${properties:cool.foo} ") })
>   .to("direct:end"}");
>
> Currently myList valuse is string like a,b,c
>
> How i can treat myList as array?
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.
> com/How-to-convert-property-value-to-array-tp5789924.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to