295.4. 例子

下面是几个示例,如何在 Document、Element 和 Content 级别执行 marshalling。

295.4.1. 全 Payload 加密/解密

from("direct:start")
    .marshal().secureXML()
    .unmarshal().secureXML()
    .to("direct:end");