Re: wireTap: how to put a map in newExchangeBody?

2013-08-15 Thread PJ Walstroem
great, thank you :-) -- View this message in context: http://camel.465427.n5.nabble.com/wireTap-how-to-put-a-map-in-newExchangeBody-tp5737340p5737343.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: wireTap: how to put a map in newExchangeBody?

2013-08-15 Thread Claus Ibsen
y.put("supplier", > (String)exchange.getIn().getHeader("supplierName")); > newBody.put("status", "started"); > return exchange.getContext().getTypeConverter().convertTo(type, exchange, > newBody); > }}) > > any suggestions would be highly appre

wireTap: how to put a map in newExchangeBody?

2013-08-15 Thread PJ Walstroem
convertTo(type, exchange, newBody); }}) any suggestions would be highly appreciated! cheers, pj -- View this message in context: http://camel.465427.n5.nabble.com/wireTap-how-to-put-a-map-in-newExchangeBody-tp5737340.html Sent from the Camel - Users mailing list archive at Nabble.com.