Hi,

One difference is

i m setting headers like below

msisdns = new ArrayList<String>(); 
msisdns.add( newBody.get(0).get(0) );
newExchange.getIn().setHeader("msisdns", msisdns);

newExchange.getIn().setHeader("campId", new ArrayList<String>(
Arrays.asList( prop.getProperty( newBody.get(0).get(1) ).split(","))));

in example you create MAP and then set that accordingly, does this make any
difference?

Map<String, Object> headers = new HashMap<>();
headers.put("names", new String[]{"Camel", "AMQ"});
 headers.put("licenses", new String[]{"ASF", "XXX", "YYY"});




--
View this message in context: 
http://camel.465427.n5.nabble.com/Bug-in-camel-sql-IN-Clause-2-18-0-tp5790243p5794148.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to