Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface JMSConnectionFactoryMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, JMSConstants, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean

Deprecated. 9.0.0.0 Replaced by JMSConnectionFactoryBean

public interface JMSConnectionFactoryMBean
extends DeploymentMBean, JMSConstants

This class represents a JMS connection factory. Connection factories are objects that enable JMS clients to create JMS connections.


Field Summary

 

Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Fields inherited from interface weblogic.management.configuration.JMSConstants
ACKNOWLEDGE_ALL, ACKNOWLEDGE_MODE_AUTO, ACKNOWLEDGE_MODE_CLIENT, ACKNOWLEDGE_MODE_DUPS_OK, ACKNOWLEDGE_MODE_NONE, ACKNOWLEDGE_ONE, ACKNOWLEDGE_PREVIOUS, ALWAYSFORWARD, AT_LEAST_ONCE, AT_MOST_ONCE, AUTH_PRINS, CLIENT_ID_POLICY_UNRESTRICTED, CONSUMPTION_ENABLED, CONSUMPTION_PAUSED, CONSUMPTION_PAUSING, DEFAULT_MESSAGE_BUFFER_SIZE, DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_SAFID, DESTINATION_TYPE_TOPIC, DESTINATION_TYPE_UDQUEUE, DESTINATION_TYPE_UDTOPIC, DISABLED, DISCARD, ENABLED_DEFAULT, ENABLED_FALSE, ENABLED_TRUE, ERRORDESTINATION, EXACTLY_ONCE, EXPORT_TO_ALL, EXPORT_TO_NONE, FIFO, FORWARDING_POLICY_PARTITIONED, FORWARDING_POLICY_REPLICATED, INITIALCONTEXTFACTORY, INSERTION_ENABLED, INSERTION_PAUSED, INSERTION_PAUSING, KEEP_NEW, KEEP_OLD, KEY_DIRECTION_ASCENDING, KEY_DIRECTION_DESCENDING, KEY_TYPE_BOOLEAN, KEY_TYPE_BYTE, KEY_TYPE_DOUBLE, KEY_TYPE_FLOAT, KEY_TYPE_INT, KEY_TYPE_LONG, KEY_TYPE_SHORT, KEY_TYPE_STRING, LOGGING, NEVER, NO_DELIVERY, NO_OVERRIDE, NON_PERSISTENT, NON_XML, PAUSED_AT_STARTUP_DEFAULT, PAUSED_AT_STARTUP_FALSE, PERSISTENT, PREEMPTIVE, PRIORITY_DEFAULT, PRIORITY_MAXIMUM, PRIORITY_MINIMUM, PRODUCTION_ENABLED, PRODUCTION_PAUSED, PRODUCTION_PAUSING, QUEUE, RANDOM, ROUND_ROBIN, SEND_QUOTA_BLOCKING_TIMEOUT, SINGLE_MESSAGE, STORE_ENABLED_DEFAULT, STORE_ENABLED_FALSE, STORE_ENABLED_TRUE, STORE_TYPE_FILE, STORE_TYPE_JDBC, SUBSCRIPTION_EXCLUSIVE, SUBSCRIPTION_SHARABLE, SUPPORTS, SYNCWRITE_CACHEFLUSH, SYNCWRITE_DIRECTWRITE, SYNCWRITE_DISABLED, TOPIC, TOPIC_SUBSCRIBER_ONLY, TRANSACTION_MODE_51, TRANSACTION_MODE_NONE, TRANSACTION_MODE_XA, UNITOFORDER_STANDARD, UNITOFORDER_SYSTEM, XML, XMLALL

 

Method Summary
abstract  String getAcknowledgePolicy()
          Deprecated. Acknowledge policy for non-transacted sessions that use the CLIENT_ACKNOWLEDGE mode.
abstract  boolean getAllowCloseInOnMessage()
          Deprecated. Specifies whether a connection factory creates message consumers that allow a close() or stop() method to be issued within its onMessage() method call.
abstract  String getClientId()
          Deprecated. An optional client ID for a durable subscriber that uses this JMS connection factory.
abstract  String getDefaultDeliveryMode()
          Deprecated. The delivery mode assigned to all messages sent by a producer using this connection factory.
abstract  int getDefaultPriority()
          Deprecated. The default priority used for messages when a priority is not explicitly defined.
abstract  long getDefaultRedeliveryDelay()
          Deprecated. The number of milliseconds before rolled back or recovered messages are redelivered.
abstract  long getDefaultTimeToDeliver()
          Deprecated. The number of milliseconds between when a message is produced and when it is made visible on its target destination.
abstract  long getDefaultTimeToLive()
          Deprecated. The default maximum number of milliseconds that a message will exist.
abstract  int getFlowInterval()
          Deprecated. The number of seconds (between 0 and a positive 32-bit integer) when a producer adjusts its flow from the Flow Maximum number of messages to the Flow Minimum amount, or vice versa.
abstract  int getFlowMaximum()
          Deprecated. The maximum number of messages-per-second (between 0 and a positive 32-bit integer) allowed for a producer that is experiencing a threshold condition on the JMS server or queue/topic destination.
abstract  int getFlowMinimum()
          Deprecated. The minimum number of messages-per-second allowed for a producer that is experiencing a threshold condition.
abstract  int getFlowSteps()
          Deprecated. The number of steps (between 1 and a positive 32-bit integer) used when a producer is adjusting its flow from the Flow Maximum amount of messages to the Flow Minimum amount, or vice versa.
abstract  String getJNDIName()
          Deprecated. The JNDI name used to look up this JMS connection factory within the JNDI namespace.
abstract  int getMessagesMaximum()
          Deprecated. The maximum number of messages that may exist for an asynchronous session and that have not yet been passed to the message listener.
abstract  String getOverrunPolicy()
          Deprecated. Overrun policy for topic subscribers that use the multicast extension.
abstract  long getSendTimeout()
          Deprecated. The maximum number of milliseconds that a sender will wait for sufficient space (quota) on a JMS server and destination to accommodate the message being sent.
abstract  long getTransactionTimeout()
          Deprecated. The timeout seconds for all transactions on transacted sessions created with this JMS connection factory.
abstract  boolean isFlowControlEnabled()
          Deprecated. Indicates whether flow control is enabled for a producer created using this connection factory.
abstract  boolean isLoadBalancingEnabled()
          Deprecated. Indicates whether non-anonymous producers sending to a distributed destination are load balanced on a per-send basis.
abstract  boolean isServerAffinityEnabled()
          Deprecated. Indicates whether a server that is load balancing consumers or producers across multiple physical destinations in a distributed destination set will first attempt to load balance across any other physical destinations that are also running on the same WebLogic Server instance.
abstract  boolean isUserTransactionsEnabled()
          Deprecated. 8.1.0.0 Replaced by isXAConnectionFactoryEnabled
abstract  boolean isXAConnectionFactoryEnabled()
          Deprecated. Specifies whether a XA queue or XA topic connection factory is returned, instead of a queue or topic connection factory.
abstract  boolean isXAServerEnabled()
          Deprecated. 8.1.0.0 Replaced by isXAConnectionFactoryEnabled
abstract  void setAcknowledgePolicy(String policy)
          Deprecated. Sets the value of the AcknowledgePolicy attribute.
abstract  void setAllowCloseInOnMessage(boolean allowCloseInOnMessage)
          Deprecated. Sets the value of the AllowCloseInOnMessage attribute.
abstract  void setClientId(String id)
          Deprecated. Sets the value of the ClientId attribute.
abstract  void setDefaultDeliveryMode(String defaultDeliveryMode)
          Deprecated. Sets the value of the DefaultDeliveryMode value.
abstract  void setDefaultPriority(int defaultPriority)
          Deprecated. Sets the value of the DefaultPriority attribute.
abstract  void setDefaultRedeliveryDelay(long defaultRedeliveryDelay)
          Deprecated. Sets the value of the DefaultRedeliveryDelay attribute.
abstract  void setDefaultTimeToDeliver(long timeToDeliver)
          Deprecated. Sets the value of the DefaultTimeToDeliver attribute.
abstract  void setDefaultTimeToLive(long defaultTimeToLive)
          Deprecated. Sets the value of the DefaultTimeToLive attribute.
abstract  void setFlowControlEnabled(boolean flowControlEnabled)
          Deprecated. Sets the value of the FlowControlEnabled attribute.
abstract  void setFlowInterval(int flowInterval)
          Deprecated. Sets the value of the FlowInterval attribute.
abstract  void setFlowMaximum(int flowMaximum)
          Deprecated. Sets the value of the FlowMaximum attribute.
abstract  void setFlowMinimum(int flowMinimum)
          Deprecated. Sets the value of the FlowMinimum attribute.
abstract  void setFlowSteps(int flowSteps)
          Deprecated. Sets the value of the FlowSteps attribute.
abstract  void setJNDIName(String name)
          Deprecated. Sets the value of the JNDIName attribute.
abstract  void setLoadBalancingEnabled(boolean loadBalancingEnabled)
          Deprecated. Sets the value of the LoadBalancingEnabled attribute.
abstract  void setMessagesMaximum(int messagesMaximum)
          Deprecated. Sets the value of the MessagesMaximum attribute.
abstract  void setOverrunPolicy(String policy)
          Deprecated. Sets the value of the OverrunPolicy attribute.
abstract  void setSendTimeout(long sendTimeout)
          Deprecated. Sets the value of the SendTimeout value.
abstract  void setServerAffinityEnabled(boolean serverAffinityEnabled)
          Deprecated. Sets the value of the ServerAffinityEnabled attribute.
abstract  void setTransactionTimeout(long transactionTimeout)
          Deprecated. Sets the value of the TransactionTimeout attribute.
abstract  void setUserTransactionsEnabled(boolean userTransactionsEnabled)
          Deprecated. 8.1.0.0 Replaced by setXAConnectionFactoryEnabled
abstract  void setXAConnectionFactoryEnabled(boolean XAConnectionFactoryEnabled)
          Deprecated. Sets the value of the XAConnectionFactoryEnabled attribute.
abstract  void setXAServerEnabled(boolean XAServerEnabled)
          Deprecated. 8.1.0.0 Replaced by setXAConnectionFactoryEnabled

 

Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

getJNDIName

String getJNDIName()
Deprecated. 

The JNDI name used to look up this JMS connection factory within the JNDI namespace.

Returns:
The jNDIName value

setJNDIName

void setJNDIName(String name)
                 throws InvalidAttributeValueException
Deprecated. 

Sets the value of the JNDIName attribute.

Parameters:
name - The new jNDIName value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getJNDIName()

getClientId

String getClientId()
Deprecated. 

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 javax.jms.Connection.setClientID() call.

Returns:
The clientId value

setClientId

void setClientId(String id)
                 throws InvalidAttributeValueException
Deprecated. 

Sets the value of the ClientId attribute.

Parameters:
id - The new clientId value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getClientId()

getDefaultPriority

int getDefaultPriority()
Deprecated. 

The default priority used for messages when a priority is not explicitly defined.

Message producers can set the priority explicitly by calling the javax.jms.MessageProducer.setPriority() method.

Range of Values: Between 0 and 9.

Note: This value 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.

Returns:
The defaultPriority value

setDefaultPriority

void setDefaultPriority(int defaultPriority)
                        throws InvalidAttributeValueException
Deprecated. 

Sets the value of the DefaultPriority attribute.

Message producers can set the priority explicitly by calling the javax.jms.MessageProducer.setPriority() method.

Parameters:
defaultPriority - The new defaultPriority value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getDefaultPriority()

getDefaultTimeToDeliver

long getDefaultTimeToDeliver()
Deprecated. 

The number of milliseconds between when a message is produced and when it is made visible on its target destination.

Message producers can get the time-to-deliver explicitly by calling the weblogic.jms.extensions.WLMessageProducer.getTimeToDeliver() method.

Range of Values: Between 0 and a positive 64-bit integer.

Note: This value 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.

Returns:
The defaultTimeToDeliver value

setDefaultTimeToDeliver

void setDefaultTimeToDeliver(long timeToDeliver)
                             throws InvalidAttributeValueException
Deprecated. 

Sets the value of the DefaultTimeToDeliver attribute.

Parameters:
timeToDeliver - The new defaultTimeToDeliver value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getDefaultTimeToDeliver()

getDefaultTimeToLive

long getDefaultTimeToLive()
Deprecated. 

The default maximum number of milliseconds that a message will exist. Used for messages for which a Time to Live was not explicitly defined.

The default value of 0 indicates that the message has an infinite amount time to live.

Message producers can get the time-to-live explicitly by calling the javax.jms.MessageProducer.getTimeToLive() method.

Range of Values: Between 0 and a positive 64-bit integer.

Note: This value 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.

Returns:
The defaultTimeToLive value

setDefaultTimeToLive

void setDefaultTimeToLive(long defaultTimeToLive)
                          throws InvalidAttributeValueException
Deprecated. 

Sets the value of the DefaultTimeToLive attribute.

Parameters:
defaultTimeToLive - The new defaultTimeToLive value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getDefaultTimeToLive()

getSendTimeout

long getSendTimeout()
Deprecated. 

The maximum number of milliseconds that a sender will wait for sufficient space (quota) on a JMS server and destination to accommodate the message being sent. Also see the Blocking Send Policy field on the JMS Server > Configuration > Thresholds & Quotas tab.

Range of Values: Between 0 and a positive 64-bit integer.

The default time is 10 milliseconds. A value of 0 indicates that the sender does not want to wait for space.

Note: This value is dynamic. It can be changed at any time. However, changing the value does not affect existing connections or their producers. It only affects new connections made with this connection factory. Producers inherit the setting from the connection factory used to create their session and connection. The value can then be overridden at run time by setting the value on the producer.

Returns:
The sendTimeout value

setSendTimeout

void setSendTimeout(long sendTimeout)
                    throws InvalidAttributeValueException
Deprecated. 

Sets the value of the SendTimeout value.

Parameters:
sendTimeout - The new sendTimeout value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getSendTimeout()

getDefaultDeliveryMode

String getDefaultDeliveryMode()
Deprecated. 

The delivery mode assigned to all messages sent by a producer using this connection factory.

Message producers can get the delivery mode explicitly by calling the javax.jms.MessageProducer.getDeliveryMode() method.

Note: This value 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.

Returns:
The defaultDeliveryMode value

setDefaultDeliveryMode

void setDefaultDeliveryMode(String defaultDeliveryMode)
                            throws InvalidAttributeValueException
Deprecated. 

Sets the value of the DefaultDeliveryMode value.

Parameters:
defaultDeliveryMode - The new defaultDeliveryMode value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getDefaultDeliveryMode()

getDefaultRedeliveryDelay

long getDefaultRedeliveryDelay()
Deprecated. 

The number of milliseconds before rolled back or recovered messages are redelivered. This value 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.

Message consumers can get the redelivery delay explicitly by calling the weblogic.jms.extensions.WLSession.getRedliveryDelay() method.

Range of Values: Between 0 and a positive 64-bit integer.

Returns:
The defaultRedeliveryDelay value

setDefaultRedeliveryDelay

void setDefaultRedeliveryDelay(long defaultRedeliveryDelay)
                               throws InvalidAttributeValueException
Deprecated. 

Sets the value of the DefaultRedeliveryDelay attribute.

Parameters:
defaultRedeliveryDelay - The new defaultRedeliveryDelay value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getDefaultRedeliveryDelay()

getTransactionTimeout

long getTransactionTimeout()
Deprecated. 

The timeout seconds for all transactions on transacted sessions created with this JMS connection factory. This setting has no effect on the transaction-timeout for JTA user transactions.

Range of Values: Between 0 and a positive 32-bit integer.

Note: This value 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.

Note: If a transacted session is still active after the timeout has elapsed, the transaction is rolled back. A value of 0 indicates that the default value will be used. If you have long-running transactions, you might want to adjust the value of this value to allow transactions to complete.

Returns:
The transactionTimeout value

setTransactionTimeout

void setTransactionTimeout(long transactionTimeout)
                           throws InvalidAttributeValueException
Deprecated. 

Sets the value of the TransactionTimeout attribute.

Parameters:
transactionTimeout - The new transactionTimeout value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getTransactionTimeout()

isUserTransactionsEnabled

boolean isUserTransactionsEnabled()
Deprecated. 8.1.0.0 Replaced by isXAConnectionFactoryEnabled

Specifies whether a connection factory creates sessions that are JTA aware. If true, the associated message producers and message consumers look into the running thread for a transaction context. Otherwise, the current JTA transaction will be ignored. This value 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.

Note: This value is now deprecated. If the XAServerEnabled value is set, then this value is automatically set as well.

Note: Transacted sessions ignore the current threads transaction context in favor of their own internal transaction, regardless of the setting. This setting only affects non-transacted sessions.

Returns:
The userTransactionsEnabled value

setUserTransactionsEnabled

void setUserTransactionsEnabled(boolean userTransactionsEnabled)
                                throws InvalidAttributeValueException
Deprecated. 8.1.0.0 Replaced by setXAConnectionFactoryEnabled

Sets the value of the TransactionsEnabled attribute.

Parameters:
userTransactionsEnabled - The new userTransactionsEnabled value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.isUserTransactionsEnabled()

getAllowCloseInOnMessage

boolean getAllowCloseInOnMessage()
Deprecated. 

Specifies whether a connection factory creates message consumers that allow a close() or stop() method to be issued within its onMessage() method call.

Note: This value 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.

Returns:
The allowCloseInOnMessage value

setAllowCloseInOnMessage

void setAllowCloseInOnMessage(boolean allowCloseInOnMessage)
                              throws InvalidAttributeValueException
Deprecated. 

Sets the value of the AllowCloseInOnMessage attribute.

Parameters:
allowCloseInOnMessage - The new allowCloseInOnMessage value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getAllowCloseInOnMessage()

getMessagesMaximum

int getMessagesMaximum()
Deprecated. 

The maximum number of messages that may 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. This value 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. (For topic subscribers that use the multicast extension, also see the Overrun Policy field.)

When the number of messages reaches the MessagesMaximum value:

Range of Values: Between -1 and a positive 32-bit integer.

Note: 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.

Returns:
The messagesMaximum value

setMessagesMaximum

void setMessagesMaximum(int messagesMaximum)
                        throws InvalidAttributeValueException
Deprecated. 

Sets the value of the MessagesMaximum attribute.

Parameters:
messagesMaximum - The new messagesMaximum value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getMessagesMaximum()

getOverrunPolicy

String getOverrunPolicy()
Deprecated. 

Overrun policy for topic subscribers that use the multicast extension. The policy to use when the number of outstanding multicast messages reaches the value specified in the Messages Maximum field and some messages must be discarded. Keep New indicates that the most recent messages are given priority over the oldest messages, and the oldest messages are discarded, as needed. Keep Old indicates that the oldest messages are given priority over the most recent messages, and the most recent messages are discarded, as needed. Message age is defined by the order of receipt, not by the JMSTimestamp value.

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 JMSTimestamp value.

Note: This value 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.

Returns:
The overrunPolicy value

setOverrunPolicy

void setOverrunPolicy(String policy)
                      throws InvalidAttributeValueException
Deprecated. 

Sets the value of the OverrunPolicy attribute.

Parameters:
policy - The new overrunPolicy value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getOverrunPolicy()

isXAConnectionFactoryEnabled

boolean isXAConnectionFactoryEnabled()
Deprecated. 

Specifies whether a XA queue or XA topic connection factory is returned, instead of a queue or topic connection factory. An XA factory is required for JMS applications to use JTA user-transactions, but is not required for transacted sessions. All connections created from an XA factory, whether they are XAConnections or plain Connections, become JTA user-transaction-aware.

In addition, this value indicates whether or not a connection factory creates sessions that are JTA aware. If true, the associated message producers and message consumers look into the running thread for a transaction context. Otherwise, the current JTA transaction will be ignored.

Note: Transacted sessions ignore the current threads transaction context in favor of their own internal transaction, regardless of the setting. This setting only affects non-transacted sessions.

Returns:
The xAConnectionFactoryEnabled value

setXAConnectionFactoryEnabled

void setXAConnectionFactoryEnabled(boolean XAConnectionFactoryEnabled)
                                   throws InvalidAttributeValueException
Deprecated. 

Sets the value of the XAConnectionFactoryEnabled attribute.

Parameters:
XAConnectionFactoryEnabled - The new xAConnectionFactoryEnabled value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.isXAConnectionFactoryEnabled()

getAcknowledgePolicy

String getAcknowledgePolicy()
Deprecated. 

Acknowledge policy for non-transacted sessions that use the CLIENT_ACKNOWLEDGE mode. All specifies that calling acknowledge on a message acknowledges all unacknowledged messages received on the session. Previous specifies that calling acknowledge on a message acknowledges only unacknowledged messages up to, and including, the given message.

Note: This value only applies to implementations that use the CLIENT_ACKNOWLEDGE acknowledge mode for a non-transacted session.

Note: This value works around a change in the JMS specification. Specifically, the specification allowed users to acknowledge all messages before and including the message being acknowledged. The specification was changed so that acknowledging any message acknowledges all messages ever received (even those received after the message being acknowledge), as follows:

Returns:
The acknowledgePolicy value

setAcknowledgePolicy

void setAcknowledgePolicy(String policy)
                          throws InvalidAttributeValueException
Deprecated. 

Sets the value of the AcknowledgePolicy attribute.

Parameters:
policy - The new acknowledgePolicy value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getAcknowledgePolicy()

getFlowMinimum

int getFlowMinimum()
Deprecated. 

The minimum number of messages-per-second allowed for a producer that is experiencing a threshold condition. That is, WebLogic JMS will not further slow down a producer whose message flow limit is at its Flow Minimum.

Range of Values: Between 0 and a positive 32-bit integer.

Note: When a producer is flow controlled it will never be required to go slower than FlowMinimum messages per second.

Note: This value is dynamic. It can be changed at any time. However, changing the value does not affect existing connections.

Returns:
The flowMinimum value

setFlowMinimum

void setFlowMinimum(int flowMinimum)
                    throws InvalidAttributeValueException
Deprecated. 

Sets the value of the FlowMinimum attribute.

Parameters:
flowMinimum - The new flowMinimum value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getFlowMinimum()

getFlowMaximum

int getFlowMaximum()
Deprecated. 

The maximum number of messages-per-second (between 0 and a positive 32-bit integer) allowed for a producer that is experiencing a threshold condition on the JMS server or queue/topic destination. When a producer is flow controlled it will never be allowed to go faster than this number of messages per second.

If a producer is not currently limiting its flow when a threshold condition is reached, the initial flow limit for that producer is set to FlowMaximum. If a producer is already limiting its flow when a threshold condition is reached (the flow limit is less than FlowMaximum), then the producer will continue at its current flow limit until the next time the flow is evaluated.

Note: Once a threshold condition has subsided, the producer is not permitted to ignore its flow limit. If its flow limit is less than the FlowMaximum, then the producer must gradually increase its flow to the FlowMaximum each time the flow is evaluated. When the producer finally reaches the FlowMaximum, it can then ignore its flow limit and send without limiting its flow.

Note: This value is dynamic. It can be changed at any time. However, changing the value does not affect existing connections.

Returns:
The flowMaximum value

setFlowMaximum

void setFlowMaximum(int flowMaximum)
                    throws InvalidAttributeValueException
Deprecated. 

Sets the value of the FlowMaximum attribute.

Parameters:
flowMaximum - The new flowMaximum value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getFlowMaximum()

getFlowInterval

int getFlowInterval()
Deprecated. 

The number of seconds (between 0 and a positive 32-bit integer) when a producer adjusts its flow from the Flow Maximum number of messages to the Flow Minimum amount, or vice versa.

Note: This value is dynamic. It can be changed at any time. However, changing the value does not affect existing connections.

Returns:
The flowInterval value

setFlowInterval

void setFlowInterval(int flowInterval)
                     throws InvalidAttributeValueException
Deprecated. 

Sets the value of the FlowInterval attribute.

Parameters:
flowInterval - The new flowInterval value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getFlowInterval()

getFlowSteps

int getFlowSteps()
Deprecated. 

The number of steps (between 1 and a positive 32-bit integer) used when a producer is adjusting its flow from the Flow Maximum amount of messages to the Flow Minimum amount, or vice versa.

Also, the movement (i.e., the rate of adjustment) is calculated by dividing the difference between the Flow Maximum and the Flow Minimum into steps. At each Flow Step, the flow is adjusted upward or downward, as necessary, based on the current conditions, as follows:

Note: This value is dynamic. It can be changed at any time. However, changing the value does not affect existing connections.

Returns:
The flowSteps value

setFlowSteps

void setFlowSteps(int flowSteps)
                  throws InvalidAttributeValueException
Deprecated. 

Sets the value of the FlowSteps attribute.

Parameters:
flowSteps - The new flowSteps value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.getFlowSteps()

isFlowControlEnabled

boolean isFlowControlEnabled()
Deprecated. 

Indicates whether flow control is enabled for a producer created using this connection factory. If true, the associated message producers will be slowed down if the JMS server reaches Bytes/MessagesThresholdHigh.

Returns:
The flowControlEnabled value

setFlowControlEnabled

void setFlowControlEnabled(boolean flowControlEnabled)
                           throws InvalidAttributeValueException
Deprecated. 

Sets the value of the FlowControlEnabled attribute.

Parameters:
flowControlEnabled - The new flowControlEnabled value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.isFlowControlEnabled()

isLoadBalancingEnabled

boolean isLoadBalancingEnabled()
Deprecated. 

Indicates whether non-anonymous producers sending to a distributed destination are load balanced on a per-send basis.

Returns:
The loadBalancingEnabled value

setLoadBalancingEnabled

void setLoadBalancingEnabled(boolean loadBalancingEnabled)
                             throws InvalidAttributeValueException
Deprecated. 

Sets the value of the LoadBalancingEnabled attribute.

Parameters:
loadBalancingEnabled - The new loadBalancingEnabled value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.isLoadBalancingEnabled()

isServerAffinityEnabled

boolean isServerAffinityEnabled()
Deprecated. 

Indicates whether a server that is load balancing consumers or producers across multiple physical destinations in a distributed destination set will first attempt to load balance across any other physical destinations that are also running on the same WebLogic Server instance.

Returns:
The serverAffinityEnabled value

setServerAffinityEnabled

void setServerAffinityEnabled(boolean serverAffinityEnabled)
                              throws InvalidAttributeValueException
Deprecated. 

Sets the value of the ServerAffinityEnabled attribute.

Parameters:
serverAffinityEnabled - The new serverAffinityEnabled value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.isServerAffinityEnabled()

isXAServerEnabled

boolean isXAServerEnabled()
Deprecated. 8.1.0.0 Replaced by isXAConnectionFactoryEnabled

Indicates whether an XA connection factory will be returned instead of a standard connection factory.

Note: This value is deprecated. It is now possible to use a single XA-enabled connection factory for both XA and non-XA purposes.

Returns:
The xAServerEnabled value

setXAServerEnabled

void setXAServerEnabled(boolean XAServerEnabled)
                        throws InvalidAttributeValueException
Deprecated. 8.1.0.0 Replaced by setXAConnectionFactoryEnabled

Sets the value of the XAServerEnabled attribute.

Parameters:
XAServerEnabled - The new xAServerEnabled value
Throws:
InvalidAttributeValueException
See Also:
JMSConnectionFactoryMBean.isXAServerEnabled()

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09