332.2. marshal

在本例中,我们将文件内容提供给 UTF-8 编码中的 String 对象。

from("file://data.csv").marshal().string("UTF-8").to("jms://myqueue");