43.3. marshal
在本例中,我们将文件内容分到 base64 对象。
from("file://data.bin")
    .marshal().base64()
    .to("jms://myqueue");
from("file://data.bin")
    .marshal().base64()
    .to("jms://myqueue");
在 Spring DSL 中:
 <from uri="file://data.bin">
 <marshal>
     <base64/>
 </marshal>
 <to uri="jms://myqueue"/>
 <from uri="file://data.bin">
 <marshal>
     <base64/>
 </marshal>
 <to uri="jms://myqueue"/>