Configuration Options Related Tasks Related Topics
Use this page to define the client configuration parameters for this JMS connection factory, such as client id for durable subscribers, acknowledge policy, etc.
Name | Description |
---|---|
Client ID for Durable Subscribers |
An optional client ID for a durable subscriber that uses this JMS connection factory. Configuring this value on the connection factory prevents more than one JMS client from using a connection from the factory. Generally, JMS durable subscriber applications set their client
IDs dynamically using the
MBean Attribute
(Does not apply to application modules): |
Maximum Messages per Session |
The maximum number of messages that can exist for an asynchronous session and that have not yet been passed to the message listener. When the Synchronous Prefetch Mode is enabled, this value also affects synchronous sessions with a message consumer that will prefetch messages in one server access. A value of -1 indicates that there is no limit on the number of messages. In this case, however, the limit is set to the amount of remaining virtual memory. When the number of messages reaches the MessagesMaximum value:
For multicast sessions, when a connection is stopped, messages will continue to be delivered, but only until the MessagesMaximum value is reached. Once this value is reached, messages will be discarded based on the Overrun policy. MBean Attribute
(Does not apply to application modules): |
Prefetch Mode for Synchronous Consumer |
Specifies whether a synchronous consumer will prefetch messages (that is, messages sent from the server to the client) in one server access.
Synchronous message prefetching does not support the following conditions, and will throw a JMS Exception when encountered:
This attribute is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory. MBean Attribute
(Does not apply to application modules): |
Multicast Overrun Policy |
The policy to use when the number of outstanding multicast messages reaches the value specified in MessagesMaximum and some messages must be discarded.
Message age is defined by the order of receipt, not by the
MBean Attribute
(Does not apply to application modules): |
Allow Close() Within onMessage() |
Specifies whether the connection factory creates message
consumers that allow a
This attribute is dynamic and can be changed at any time. However, changing the value does not affect existing connections. It only affects new connections made with this connection factory. MBean Attribute
(Does not apply to application modules): |
Client Acknowledge Policy |
Acknowledge policy for non-transacted sessions that use the
This parameter works around a change in the JMS specification
and only applies to implementations that use the
MBean Attribute
(Does not apply to application modules): |
![]() ![]() |