48.15.3. marshaling

要从模型对象集合生成 CSV 记录,请创建以下路由:

from("direct:handleOrders")
   .marshal(bindy)
   .to("file://outbox")