camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imranrazakhan <>
Subject Re: How to convert property value to array
Date Wed, 09 Nov 2016 04:42:04 GMT
I tried following but it is not working as u expected

// route
  .setHeader("myList",  simple(" ${} ") })
  .log("cid ==== "+simple("${header.myList.size}"))

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:
Sent from the Camel - Users mailing list archive at

View raw message