Receiving Messages

This section describes how clients can use the JMS API to receive messages.

Related Event Broker Provisioning and Configuration Information

For JMS clients to consume messages from the Message VPN they are connected to, they must be assigned appropriately configured client profiles and/or Access Control List (ACL) profiles:

  • To receive messages with a Guaranteed Transport delivery mode, clients must be assigned client profiles that have the allow‑guaranteed‑message‑receive parameter enabled. In addition, if clients are going to use non-durable message consumers, the assigned client profiles must also have the allow‑guaranteed‑message‑create parameter enabled because these clients automatically create temporary queues/topic-endpoints.
  • To allow clients to subscribe to topics (or to only a specific set of topics) clients must be assigned ACLs with the appropriate access controls.

For more information on configuring client profiles and ACLs on event brokers, refer to Management & Shell Users

Related Sample

For an example of how to receive messages, refer to the SolJMSConsumer sample.