Re: How to convert property value to array

2016-11-09 Thread Claus Ibsen
;a,b,c").split(",") ) > > Exception in thread "main" java.lang.Error: Unresolved compilation problem: > The method groovy(String) in the type > ExpressionClause> is not applicable > for the arguments (String[]) > > > > > -- > Vie

Re: How to convert property value to array

2016-11-09 Thread imranrazakhan
Clause> is not applicable for the arguments (String[]) -- View this message in context: http://camel.465427.n5.nabble.com/How-to-convert-property-value-to-array-tp5789924p5789965.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to convert property value to array

2016-11-09 Thread Claus Ibsen
xception: Method with name: > size not found on bean: a,b,c of type: java.lang.String. Exchange[] > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-convert-property-value-to-array-tp5789924p5789930.html > Sent from the Camel - Users mai

Re: How to convert property value to array

2016-11-08 Thread imranrazakhan
end"}"); Failed to invoke method: size on null due to: org.apache.camel.component.bean.MethodNotFoundException: Method with name: size not found on bean: a,b,c of type: java.lang.String. Exchange[] -- View this message in context: http://camel.465427.n5.nabble.com/How-to-convert-property-value-to-array-tp5789924

Re: How to convert property value to array

2016-11-08 Thread Mark Nuttall
.foos} " On Tue, Nov 8, 2016 at 3:40 PM, imranrazakhan 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. >

Re: How to convert property value to array

2016-11-08 Thread imranrazakhan
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.

Re: How to convert property value to array

2016-11-08 Thread Mark Nuttall
; 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

How to convert property value to array

2016-11-08 Thread imranrazakhan
se 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.