Before you begin
After you create a topic, you can define advanced general property values, such as specifying unit-of-order parameters and attaching the credentials of message senders.
To configure advanced general values for a topic:
topicSession.createtopic
API defined in the JMS
Specification. This name must be unique within the scope of the
JMS server to which this topic is targeted; however, it does not
need to be unique within the scope of a JMS module. Therefore, two
topics in the same module can have the same destination identifier
as long as those topics 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 topic. A UOW is a set of messages that are processed as
a single unit. Pass-Through - by default,
this topic 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 topic. 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 topic'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 topic message delivery failure options.
For more information about these fields, see Configuration Options.