在集成路径中集成Jaxb2Marshaller时需要帮助。
代码流:-
200
如何在transform()步骤中添加Jaxb2Marshaller?
答案 0 :(得分:0)
有一个现成的变压器可以使用:
.transform(new MarshallingTransformer(jaxbMarshaller()))
如何创建Jaxb2Marshaller
,您可以查阅Spring Framework文档:
https://docs.spring.io/spring/docs/current/spring-framework-reference/data-access.html#oxm-jaxb2