camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Nuttall <mknutt...@gmail.com>
Subject Re: How to convert property value to array
Date Tue, 08 Nov 2016 22:44:37 GMT
I did some googling and i cannot find an exact example. But based on what i
see in the Simple and Properties pages, i am guessing that it might work
like Spring.  So in your properties file try this:

cool.foos[0]=a
cool.foos[0]=b
cool.foos[0]=c

and in your DSL use:

 " ${properties:cool.foos} "


On Tue, Nov 8, 2016 at 3:40 PM, imranrazakhan <imranrazakhan@gmail.com>
wrote:

> I am using Java DSL.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.
> com/How-to-convert-property-value-to-array-tp5789924p5789926.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message