Multiple Inboud Endpoints in Mule ESB Flow?

馋奶兔 提交于 2019-12-08 10:46:44

问题


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


回答1:


Use a composite message source:

<composite-source>
  <file:inbound-endpoint ... />
  <http:inbound-endpoint ... />
</composite-source>

If you use CXF, you'll have to stick the service element inside the HTTP inbound endpoint.



来源:https://stackoverflow.com/questions/20530337/multiple-inboud-endpoints-in-mule-esb-flow

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!