camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imranrazakhan <imranrazak...@gmail.com>
Subject Re: Bug in camel-sql IN Clause - 2.18.0
Date Mon, 20 Feb 2017 15:51:26 GMT
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.

Mime
View raw message