Using the cMulticast component it is possible to route a message to multiple endpoints. This is useful if you have, for example, Supplier records that need updating on multiple systems.

In the example below, messages are taken from a JMS queue using a cJMS component, then sent to multiple messaging endpoints (cMessagingEndpoint) for processing.

Each inbound message from the ‘Supplier Unprocessed’ JMS queue is read by the ‘SageX3’, ‘Salesforce’ and ‘MDS’, routes

dh-talend-blog-1

Configure the cMulticast component:

Add as many URI’s as required.

dh-talend-blog-2

Then finally configure each of the cMessagingEndpoint components with their respective URI:

dh-talend-blog-3

Send this to a friend