Hi Claus Ibsen,
I tried above code by following this section, Sorry for my ignorance if i m
missing something.
I am using // use a list, and my aggregator is returning ArrayList of
strings
Following is my custom aggregator code
Message newIn = newExchange.getIn();
Object newBody = newIn.getBody();
ArrayList msisdns = null;
if (oldExchange == null) {
msisdns = new ArrayList<String>();
msisdns.add(newBody);
newIn.setBody(msisdns);
return newExchange;
} else {
Message in = oldExchange.getIn();
msisdns = in.getBody(ArrayList.class);
msisdns.add(newBody);
return oldExchange;
}
Regards,
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-sql-SQL-IN-Query-issue-2-17-1-tp5783264p5783271.html
Sent from the Camel - Users mailing list archive at Nabble.com.