Hello,

I was wondering if there are any converter registered by default in Camel to
convert a body made of a single object (instance) into a List holding that
single instance.

The idea is to be able to write something like:

   List l = exchange.getIn().getBody(List.class);

If there is no such converter by default, would it be a good idea to
register one in my context or do you think it would cause troubles...

Thanks for your advices,

/Bertrand



--
View this message in context: 
http://camel.465427.n5.nabble.com/Converter-body-with-single-instance-into-a-List-tp5742857.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to