331.2. Marshal

この例では、ファイルの内容を UTF-8 エンコーディングの String オブジェクトにマーシャリングします。

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