After you configure a
connection factory, you can define various default message delivery
parameters. For example, if a client does not specify certain delivery
parameters then the value of those parameters can be controlled with the
default delivery parameters on this page. In addition, you can associate
a unit-of-order with all sessions created from a factory configured with
unit-of-order enabled, and, optionally, a name provided. As a result,
all sessions created from this connection factory will have
unit-of-order enabled. All messages produced from the same session will
belong to the same unit-of-order. Messages from different sessions
belong to different unit-of-orders.
To configure default
delivery parameters on a connection factory:
If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
Administration Console, navigate to the connection factory resource
that you want to configure:
Default Priority, specify the default
priority used for messages when a priority is not explicitly
Default Time-To-Live, specify the maximum
length of time, in milliseconds, that a message will exist. This
value is used for messages when a priority is not explicitly
Default Time-To-Deliver, specify the delay
time, in milliseconds, between when a message is produced and when
it is made visible on its destination.
Default Delivery Mode, select the delivery
mode (Persistent or Non-Persistent) assigned to all messages sent
by a producer using this connection factory.
Default Redelivery, specify the delay time,
in milliseconds, before rolled back or recovered messages are
Default Compression Threshold, specify the
number of bytes for a serialized message body so any message that
exceeds this limit will trigger message compression when the
message is sent or received by the JMS message producer or
Default Unit-of-Order for Producer, select
the default Unit-of-Order producer for this connection factory.
Select System-generated to allow the system
to generate a Unit-of-Order name. Select
User-Generated to set the unit-of-order
name to the name specified in the User-generated
Unit-of-Order Name field.
User-generated Unit-of-Order Name, specify
a Unit-of-Order Name when the Default Unit-of-Order Producer is
set to User-generated.