Using JMS 1.1 unified domain model
- Last Updated: October 22, 2024
- 1 minute read
- OpenEdge
- Version 12.2
Using JMS 1.1 unified domain model
Prior to OpenEdge Release 10.1, OpenEdge clients were required to create a JMS session that was either for PTP or Pub/Sub messaging. If the client needed to use both queues and topics, it was necessary to create two JMS sessions.
Currently, OpenEdge supports JMS 1.1. JMS 1.1 unifies the two messaging domains into one domain. Therefore, OpenEdge clients may utilize both PTP or Pub/Sub messaging within the same JMS session. You can access both queues and topics using the same JMS session object. The following example shows the ABL code for using queues and topics in the same JMS session object:
|
Note: The ModChat example
demonstrates using the jmssession to perform both PTP and
Pub/Sub messaging. The example uses a serialized connection object and server-based message
selectors. For an alphabetical API reference, see ABL-JMS API Reference.