Real-time messaging services (RTMS) provide a way to capture transactions in an Adaptive Server Enterprise database and deliver them as events to external applications through a Java Messaging Service (JMS) message bus.
Messaging is the exchange of information between two or more software applications. A message is a self-contained package of information. Message systems allow senders and receivers to be decoupled so that not all components need to be up, running, and connected at all times. For example, a messaging system can be asynchronous in that an application can send messages that are successfully delivered even if one or more target applications are temporarily down. Real-time means that the database can trigger events at the same time as they occur, rather than simply queuing the events. For example, a change in a record may be evaluated in conjunction with other changes, and the most efficient response chosen.
RTMS provides an easy way to perform messaging operations within SQL statements. JMS is an API that defines how clients communicate with message providers. Sender and receiver both act as clients to the message provider.
JMS defines two messaging models: