Daniel Pereira
Daniel Pereira

Reputation: 3

Multiple Inboud Endpoints in Mule ESB Flow?

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

Upvotes: 0

Views: 1613

Answers (1)

David Dossot
David Dossot

Reputation: 33413

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.

Upvotes: 1

Related Questions