Message Types
The PubSub+ Messaging API for JMS supports the following message types:
- Persistent
Persistent messages are received by a consumer once-and-only-once and in the same order that they were originally published. In addition, Persistent messages sent to durable endpoints must not be lost.
In the PubSub+ JMS API, Persistent messages are transported using the Guaranteed Transport mode.
- Non-Persistent
Non-Persistent messages are received by a consumer at-most-once. That is, under normal operations, messages should be delivered once to the consumer, but they can never be delivered more than once to the same consumer.
In the PubSub+ JMS API, Non-Persistent messages can be transported using Guaranteed or Direct Transport modes.