![]() ![]() ![]() ![]() |
Before you begin
After you create a queue, you can define advanced property values, such as specifying unit-of-order parameters, attaching the credentials of message senders, or defining unit-of-work parameters.
To configure advanced general values for a queue:
QueueSession.createQueue
API defined in the JMS
Specification. This name must be unique within the scope of the
JMS server to which this queue is targeted; however, it does not
need to be unique within the scope of a JMS module. Therefore, two
queues in the same module can have the same destination identifier
as long as those queues are targeted to different JMS
servers.
Do Not Batch Messages -- Available messages are promptly delivered to consumers.
Batch Messages Without Waiting -- (default) Less-than-full batches are immediately delivered with available messages.
Low Waiting Threshold for Message Batching -- Wait briefly before less-than-full batches are delivered with available messages.
Medium Waiting Threshold for Message Batching -- Wait longer before less-than-full batches are delivered with available messages.
High Waiting Threshold for Message Batching -- Wait even longer before less-than-full batches are delivered with available messages.
In Unit-of-Work (UOW) Message Handling
Policy, specify whether the UOW feature is enabled
for this queue. A UOW is a set of messages that are processed as
a single unit. Pass-Through - by default,
this queue will not treat messages as part of a UOW.
Single Message Delivery - this setting
should only be selected if UOW consumers are receiving messages
on this queue. When selected, UOW messages are formed into a
list and are consumed as an ObjectMessage
containing the list.
In Expiration Time for Incomplete UOW Messages, specify the maximum amount of time before undelivered messages in an incomplete UOW are expired. Such messages will then follow the queue's expiration policy defined for undeliverable messages.
Note: An error destination for UOW messages cannot be configured to use the Single Message Delivery value. See Configure queue message delivery failure options.
For more information about these fields, see Configuration Options.
![]() |