Synchronous or Asynchronous messages.

Synchronous or Asynchronous messages.

Definitions

When using ConnectPlaza you can send message 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 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, 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
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
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