Configuration Options Related Tasks Related Topics
Use this page to define the general configuration parameters for this JMS connection factory, which includes various client connection, default delivery, load balancing, and security parameters.
Name | Description |
---|---|
Name |
The name of this JMS connection factory. |
JNDI Name |
The global JNDI name used to look up a connection factory within a clustered JNDI namespace. In a clustered environment, this name is propagated to the
entire cluster. If you want the JNDI name to be bound only on the
local server, and not propagated to the rest of the cluster, then
use the If not specified, then the connection factory is not bound into a clustered JNDI namespace. MBean Attribute
(Does not apply to application modules): |
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): |
Default Priority |
The default priority used for messages when a priority is not explicitly defined. All messages with a DefaultPriority of -1 that are produced on a
connection created with this factory will receive this value.
Message producers can get the priority explicitly by calling the
This attribute is dynamic. It 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): Minimum value: Maximum value: |
Default Time-to-Live |
The maximum length of time, in milliseconds, that a message will exist. This value is used for messages when a priority is not explicitly defined. A value of 0 indicates that the message has an infinite amount time to live. A value of 0 indicates that the message has an infinite amount time to live. All messages with a DefaultTimeToLive of -1 that are produced on a connection created with this factory will receive this value expressed in milliseconds. Message producers can get the time-to-live explicitly by calling
the This attribute is dynamic. It 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): Minimum value: Maximum value: |
Default Time-to-Deliver |
The delay time, in milliseconds, between when a message is produced and when it is made visible on its destination. All messages produced by a producer created with this factory
that have a DefaultTimeToDeliver of -1 will use this value. Message
producers can get the Time-to-Deliver explicitly by calling the
This attribute is dynamic. It 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): |
Default Delivery Mode |
The default delivery mode used for messages when a delivery mode is not explicitly defined. All messages with a DefaultDeliveryMode of This attribute is dynamic. It 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): |
Default Redelivery Delay |
The delay time, in milliseconds, before rolled back or recovered messages are redelivered. All messages consumed by a consumer created with this factory that have a DefaultRedeliveryDelay of -1 will use this value. Message consumers can get the redelivery delay explicitly by
calling the
This attribute is dynamic. It 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): Minimum value: Maximum value: |
Default Compression Threshold |
The number of bytes for the serialized message body so any message exceeds this limit will trigger message compression when the message is sent or received by the JMS message producer or consumer. The compression will occur either:
MBean Attribute
(Does not apply to application modules): Minimum value: Maximum value: |
Maximum Messages per Async Session |
The maximum number of messages that can exist for an asynchronous session and that have not yet been passed to the message listener. 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): |
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): |
Load Balancing Enabled |
Specifies whether non-anonymous producers created through a connection factory are load balanced within a distributed destination on a per-call basis.
MBean Attribute
(Does not apply to application modules): |
Server Affinity Enabled |
Specifies whether a server instance that is load balancing consumers or producers across multiple members destinations of a distributed destination, will first attempt to load balance across any other physical destinations that are also running on the same server instance. MBean Attribute
(Does not apply to application modules): |
Default Unit-of-Order for Producer |
The default Unit-of-Order name for producers that connect using this connection factory. A Unit-of-Order allows for messages to be processed in a certain order, even among multiple recipients.
MBean Attribute
(Does not apply to application modules): Changes take effect after you redeploy the module or restart the server. |
User-generated Unit-of-Order Name |
Specifies the Unit-of-Order name when the Default Unit-of-Order for Producer value is set to User-generated. |
Attach JMSXUserId |
Specifies whether WebLogic Server attachs the authenticated user name to sent messages. If enabled, the system will attach the authenticated username onto sent messages if the destination supports this behavior. The username is placed in the JMSXUserID user property. JMSXUserID is defined in the JMS specification (see section 3.5.9). When dynamically changed this will affect all connections made using this connection factory after the change was made. MBean Attribute
(Does not apply to application modules): |
Local JNDI Name |
The local JNDI name used to look up the connection factory within the JNDI namespace of the server where the connection factory is targeted. In a clustered environment, this name is bound only on the local server instance and is not propagated to the rest of the cluster. If not specified, then the connection factory is not bound into the local JNDI namespace. MBean Attribute
(Does not apply to application modules): |