AFS
AFS

Reputation: 1443

Bifurcate flow on Mule

It's possible to bifurcate the payload to send the same payload to two different connectors?I want to send the same payload to a database conector and a smpt connector ,I have to use 2 flows or I can send the same payload in only one flow.

Upvotes: 0

Views: 47

Answers (2)

Dds
Dds

Reputation: 712

I'll follow afelisatti suggestion, just bear in mind that scatter-gather will, by default, wait for all routes to complete before continue. This may not be what you want.

Upvotes: 0

afelisatti
afelisatti

Reputation: 2835

Sounds like a use case for Scatter-Gather. This will send a copy of the payload to several targets and then collect the answers.

Upvotes: 1

Related Questions