kraythe wrote
> Did you try just:
> 
> from("direct:start").convertBodyTo(List.class).to("mock:result)

Yes I did but it doesn't work - it fails with an error message like "No type
converter available to convert from type: java.lang.String to the required
type: java.util.List..."

It works if I register a custom converter Object->List - but I'm not sure it
is wise to register a converter with a such large scope...





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

Reply via email to