LibraryToggle FramesPrintFeedback

A message producer packages and encrypts the message body, sets the service level and protection for the outbound message, and then sends the message to its destination. If the delivery mode is PERSISTENT, the message will be placed in the broker’s log or message store before starting delivery.

Message producers can set a time to live for each message. The calculated expiration time keeps a message in the queue until it expires. Expired messages are discarded.

Request/Reply

An application can use a request/reply mechanism to send a message and then wait for a response. The client application creates a temporary destination to receive the reply.

Quality of Service

Quality of Service refers to message delivery configuration that a producer specifies. Generally, Quality of Service affects the availability, reliability, scalability, and performance of message delivery. Loose Quality of Service uses a minimum number of features to maximize performance. A tighter Quality of Service uses multiple features, such as fault tolerant client connections, acknowledgements, and duplication elimination to maximize reliability, availability and transactional integrity.

For example, a loose Quality of Service might be used by a stock ticker application that wants to publish messages to a large number of subscribers to be consumed immediately. Since there are no security concerns and the information is time-sensitive, performance is at a premium. In contrast, a tight Quality of Service might be used for an online stock purchasing system, in which the company hosting the system wants to ensure transactional integrity, confidentiality, and reliability for all stock purchase transactions.

Quality of Service is supported by the following session options and message producer parameters:

Comments powered by Disqus