Connect:Direct receiver overview
A Connect:Direct receiver is a configurable component in AS4 Microservice that serves as an endpoint for receiving data from a trading partner in a Connect:Direct exchange.
A receiver facilitates file transfers or message exchanges by managing the configuration of certain tasks (such as message arrival and retrieval, storage persistence, and visibility event generation). A receiver also controls the flow of incoming data from your trading partners. For example, when you stop a particular receiver, files or messages in an exchange cannot be transferred into the associated directory. However, when the receiver is restarted, the file writing in progress are completed. In addition, if you receive a high watermark event, which indicates high grid memory, an active Connect:Direct receiver immediately ceases to accept any incoming messages for processing. The associated Connect:Direct server also immediately ceases to accept incoming messages, and any existing transfers. Only after the memory clears and falls below the low watermark, can the Connect:Direct receiver accept new messages.
Specifically, a Connect:Direct receiver facilitates file transfers. A configured Connect:Direct server is necessary for the Connect:Direct receiver to function. The Connect:Direct service path and Connect:Direct server must be specified to create a Connect:Direct receiver. a Connect:Direct path is unique to a particular Connect:Direct receiver and cannot be used for another Connect:Direct receiver.
The following list provides an overview of tasks that a Connect:Direct receiver performs when a file arrives at a Connect:Direct server:
- File arrival
- The Connect:Direct server, with which the Connect:Direct path is registered, indicates the message arrival to the Connect:Direct receiver.
- File receipt
- The Connect:Direct receiver identifies a path to the Connect:Direct (host) server. Data from any exchanges that are associated with the Connect:Direct receiver are processed and then written to the identified path. You can also write data to custom subdirectories in applicable exchange patterns. Data in such exchanges is processed within the custom subdirectory. For more information about how to manage files, directories, and subdirectories on a Connect:Direct host server, see Configuring a Sterling Connect:Direct server.
- Virtual file system
- The Connect:Direct receiver identifies the virtual reference point from which an organization retrieves a pull response or to which a push request is sent.
- Visibility event generation
- The Connect:Direct receiver drives the generation of visibility events when a file is received or a failure occurs.