Synchronous or Asynchronous messages.
Definitions
When using ConnectPlaza you can send messages in two ways, Synchronous or Asynchronous.
Synchronous messaging involves a client that waits for the server to respond to a message. Essentially it means that synchronous messaging is a two way communication, i.e. sender sends a message to receiver and receiver receives this message and gives a reply to the sender.
Asynchronous messaging is a communication method wherein the system puts a message in a message queue and does not require an immediate response to continue processing. Examples include a request for information, an explanation or data needed, but not needed immediately.
This term is also known as fire-and-forget information exchange or message-oriented middleware (MOM).
Overview
Here is an overview of the components and how they handle messages.
| Component | Default Type | Can by Synchronous | Can be Asynchronous | Requires Reply Producer | How to make synchronous |
| AMQP Listener | Asynchronous | Yes | Yes | Only when synchronous | Use attribute |
| AS2 Listener | Asynchronous | No | Yes | No | No |
| File Pickup | Asynchronous | No | Yes | No | No |
| FTP Pickup | Asynchronous | No | Yes | No | No |
| HTTP Listener | Synchronous | Yes | No | Always | No |
| JMS Listener | Asynchronous | Yes | Yes | Only when synchronous | Use attribute |
| Mail Listener | Asynchronous | No | Yes | No | No |
| OpenEdge Pickup | Asynchronous | No | Yes | No | No |
| MQTT Listener | Asynchronous | No | Yes | No | No |
| REST Listener | Synchronous | Yes | No | Always | Always |
| TCP Listener | Synchronous | Yes | No | Always | Always |
| Webservice Listener | Synchronous | Yes | No | Always | Always |
| Database service | Synchronous | Yes | No | No | Always |
| AS2 Gateway | Synchronous | Yes | No | No | Never |
| AS2 Sender | Asynchronous | No | Yes | No | Never |
| FTP Command Service | Synchronous | Yes | No | No | Always |
| FTP Sender | Asynchronous | No | Yes | No | Never |
| HTTP Gateway | Synchronous | Yes | No | No | Always |
| JMS Outbound Gateway | Synchronous | Yes | Yes | No | Use attribute |
| OpenEdge Gateway | Synchronous | Yes | No | No | Always |
| TCP Gateway | Synchronous | Yes | No | No | Always |
| Webservice Gateway | Synchronous | Yes | No | No | Always |
| Message copy | Asynchronous | No | Yes | No | |
| Filters | Asynchronous | No | Yes | No | |
| Flow Gateway | Synchronous | Yes | No | Yes | |
| Flow Sender | Asynchronous | No | Yes | No | |
| Routers | Asynchronous | No | Yes | No | |
| Aggregator | Asynchronous | No | Yes | No |