如何在 Apache Camel 中创建自定义转换器

问题描述 投票:0回答:1

`我必须使用 apache camel 将 json 转换为 json,为此我想在 apache camel 中创建一个自定义转换器。但做不到。

我尝试过扩展 Apache Camel 的 Transformer 类。但是无法在其覆盖的 tranform() 方法中获得下一步的操作。`

json spring-boot apache-camel
1个回答
0
投票

查看一些 EIP,例如 message translatorhttps://camel.apache.org/components/3.20.x/eips/message-translator.html

© www.soinside.com 2019 - 2024. All rights reserved.