Outbound Message Routing

The Anypoint Partner Manager outbound message routing framework enables you to implement receiving endpoints in a variety of ways. You can:

  • Use a single endpoint to receive different types of application messages, such as advance shipment notices and invoices, from your backend systems.

  • Use dedicated endpoints for each message type from backend systems.

  • Follow a balanced approach by implementing a mixed set of receive endpoints to receive application messages from backend systems.

When messages are received by the endpoint, Partner Manager routes the payload to the appropriate message flow based on the message type, partner reference ID, and host reference ID configurations:

  1. Identifies the message type using the following criteria:

    • Relative path for HTTP or HTTPS endpoints

    • Filename for SFTP endpoints, which follow this convention:


      For example, if your message type ID is ar-invoice, then the filename is ar-invoice_20210217_1055_000.json.

  2. Validates the payload against the schema supplied during the message type definition.

  3. Uses the supplied DataWeave map to obtain the partner reference ID, optional host reference IDs, and the business key.

    The partner reference ID and host reference ID specify the message flow through which the transaction is processed.

Outbound message routing process

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub