Many integrations require connecting to different servers depending on a certain condition. Examples of this include:
Connecting to different invoice storage servers depending on the branch that emitted the invoice.
Connecting to different servers depending on a given integration subject, like in a multi-tenant use case.
To accommodate these use cases, the
config element supports expressions, which make it possible for connection parameters to evaluate these conditions and connect to the correct server.
The next examples shows a dynamic multicast app that:
configfor the connector in which the
Describes a flow in which content is posted through HTTP.
Uses the File connector to read a CSV file that contains a random set of SFTP destinations with columns such as host, user, and port.
<foreach>component to iterate over each of the lines in the CSV file.
<foreach>iteration, resolves each expression in the connector
configto a different value, establishing different connections to each of the servers.