Mule ESB流中有多个Inboud端点? [英] Multiple Inboud Endpoints in Mule ESB Flow?
本文介绍了Mule ESB流中有多个Inboud端点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要同时支持通过SOAP和将文件拖放到文件夹上的操作.大多数逻辑都是相同的.是否可以通过两个消息源触发相同的流?我似乎找不到办法.谢谢
I need to support an operation both via SOAP and file dropping on a folder. Most of the logic will be he same. Is it possible to trigger the same flow with two message sources? I cant seem to find a way. Thanks
推荐答案
使用复合消息源:
<composite-source>
<file:inbound-endpoint ... />
<http:inbound-endpoint ... />
</composite-source>
如果使用CXF,则必须将service元素粘贴在HTTP入站终结点内.
If you use CXF, you'll have to stick the service element inside the HTTP inbound endpoint.
这篇关于Mule ESB流中有多个Inboud端点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文