Destination overview
In AS4 Microservice, a destination is an endpoint for delivering data or message to a partner or business application.
- HTTP or HTTPS destination
- Messaging destination
- MDN destination
- Pull destination
- HTTP or HTTPS destination
An HTTP or HTTPS destination is associated with a trading partner. An outbound message is delivered to the HTTP or HTTPS destination that is defined in the exchange profile. Based on the configuration of the HTTP or HTTPS destination, AS4 Microservice establishes a connection and delivers a message. If the destination is not available at the time of delivery, messages are resent based on the retry policy configuration.
Retries are performed in the following situations:- The destination is not available (for example, if your trading partner's server is down)
- The destination is unreachable (for example, if the URL or port is invalid)
- An SSL failure occurred
- A certificate issue occurred (for example, if the certificate is invalid)
Restriction: If the data is transmitted and the data transfer is broken, retry is not performed.- Messaging destination
A messaging destination is a message fabric destination that is configured with messaging queues. In inbound flows, the AS4 engines put the unpacked messages on to a specified messaging destination from where the messages are picked up by the business application. Additionally, a messaging destination can be used to send notification to the business application.
- MDN destination
A message disposition notification (MDN) destination is used to send MDN to a trading partner. An MDN destination can have a specific URL or the URL specified in the incoming message can be used to send the MDN. AS4 Microservice establishes a connection with the MDN destination and sends the MDN based on the configuration of the destination. If the MDN destination is not available at the time of delivery, an MDN is resent based on the configuration of the exchange profile.
- Pull destination
In a two-way push pull or one-way pull message exchange, the messages that can be pulled by a trading partner are stored in the pull destination. For more information about pull destination, see AS4 pull destination overview.