【发布时间】:2018-12-27 20:13:59
【问题描述】:
我希望更好地了解流行的 EIP 分散集合中的多个拆分器、转换器和聚合方法。
用例是我发送一些可以对应于多种不同类型的 XML。我想拆分标题中指定的类型(每种类型不同)并通过与每种类型对应的特定转换器运行它。
在 Camel 中有没有很好的例子来做这样的事情?
伪代码思路
RouteBuilder to process the input XML
Split on the type
Dynamically redirect to proper splitter based on type
Dynamically redirect to proper transformer based on type
Aggregate
Return response
【问题讨论】:
标签: java spring apache apache-camel enterprise-integration