camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imranrazakhan <imranrazak...@gmail.com>
Subject How to convert property value to array
Date Tue, 08 Nov 2016 20:07:13 GMT
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.

Mime
View raw message