Re: how to aggregate multiple unmarshalled objects

2017-03-09 Thread Claus Ibsen
return newEx; > } else { > Message in = oldEx.getIn(); > list = in.getBody(ArrayList.class); > list.add(newBody); > return oldEx; > } > } > > > &g

how to aggregate multiple unmarshalled objects

2017-03-09 Thread chanti
Hi All, how to aggregate multiple unmarshalled objects , please check my code. DataFormat bindyForInsert = new BindyCsvDataFormat(User0001.class); DataFormat bindyForDelete = new BindyCsvDataFormat(User0002.class); DataFormat bindyForUpdate = new BindyCsvDataFormat(User0003.class); from("