I read through Camel book, but can't really understand how to differentiate this two, they looks like the same, which both trying to convert a data type to another. Anyone can further elaborate in which situation I should use specific one over another? And any difference between these two?
Data format
http://camel.apache.org/data-format.html
Pseudo example:
from("file://riders/inbox")
.marshal().csv()
.to("activemq:queue:inbox");
Type Converter
http://camel.apache.org/type-converter.html
Pseudo example:
from("file://riders/inbox")
.convertBodyTo(String.class)
.to("activemq:queue:inbox");