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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top