camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imranrazakhan <>
Subject Re: Bug in camel-sql IN Clause - 2.18.0
Date Mon, 20 Feb 2017 15:51:26 GMT

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

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

View raw message