|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
weblogic.j2ee.descriptor.wl.JmsConnectionFactoryBean
public interface JMSConnectionFactoryMBean
This class represents a JMS connection factory. Connection factories are objects that enable JMS clients to create JMS connections.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX."
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 |
Method Summary | |
---|---|
String |
getAcknowledgePolicy()
Deprecated. Acknowledge policy for non-transacted sessions that use the CLIENT_ACKNOWLEDGE mode. |
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. |
String |
getClientId()
Deprecated. An optional client ID for a durable subscriber that uses this JMS connection factory. |
String |
getDefaultDeliveryMode()
Deprecated. The delivery mode assigned to all messages sent by a producer using this connection factory. |
int |
getDefaultPriority()
Deprecated. The default priority used for messages when a priority is not explicitly defined. |
long |
getDefaultRedeliveryDelay()
Deprecated. The number of milliseconds before rolled back or recovered messages are redelivered. |
long |
getDefaultTimeToDeliver()
Deprecated. The number of milliseconds between when a message is produced and when it is made visible on its target destination. |
long |
getDefaultTimeToLive()
Deprecated. The default maximum number of milliseconds that a message will exist. |
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. |
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. |
int |
getFlowMinimum()
Deprecated. The minimum number of messages-per-second allowed for a producer that is experiencing a threshold condition. |
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. |
String |
getJNDIName()
Deprecated. The JNDI name used to look up this JMS connection factory within the JNDI namespace. |
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. |
String |
getOverrunPolicy()
Deprecated. Overrun policy for topic subscribers that use the multicast extension. |
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. |
long |
getTransactionTimeout()
Deprecated. The timeout seconds for all transactions on transacted sessions created with this JMS connection factory. |
boolean |
isFlowControlEnabled()
Deprecated. Indicates whether flow control is enabled for a producer created using this connection factory. |
boolean |
isLoadBalancingEnabled()
Deprecated. Indicates whether non-anonymous producers sending to a distributed destination are load balanced on a per-send basis. |
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. |
boolean |
isUserTransactionsEnabled()
Deprecated. 8.1.0.0 Replaced by weblogic.management.configuration.JMSConnectionFactoryMBean#XAConnectionFactoryEnabled |
boolean |
isXAConnectionFactoryEnabled()
Deprecated. Specifies whether a XA queue or XA topic connection factory is returned, instead of a queue or topic connection factory. |
boolean |
isXAServerEnabled()
Deprecated. 8.1.0.0 Replaced by weblogic.management.configuration.JMSConnectionFactoryMBean#XAConnectionFactoryEnabled |
void |
setAcknowledgePolicy(String policy)
Deprecated. Sets the value of the AcknowledgePolicy attribute. |
void |
setAllowCloseInOnMessage(boolean allowCloseInOnMessage)
Deprecated. Sets the value of the AllowCloseInOnMessage attribute. |
void |
setClientId(String id)
Deprecated. Sets the value of the ClientId attribute. |
void |
setDefaultDeliveryMode(String defaultDeliveryMode)
Deprecated. Sets the value of the DefaultDeliveryMode value. |
void |
setDefaultPriority(int defaultPriority)
Deprecated. Sets the value of the DefaultPriority attribute. |
void |
setDefaultRedeliveryDelay(long defaultRedeliveryDelay)
Deprecated. Sets the value of the DefaultRedeliveryDelay attribute. |
void |
setDefaultTimeToDeliver(long timeToDeliver)
Deprecated. Sets the value of the DefaultTimeToDeliver attribute. |
void |
setDefaultTimeToLive(long defaultTimeToLive)
Deprecated. Sets the value of the DefaultTimeToLive attribute. |
void |
setFlowControlEnabled(boolean flowControlEnabled)
Deprecated. Sets the value of the FlowControlEnabled attribute. |
void |
setFlowInterval(int flowInterval)
Deprecated. Sets the value of the FlowInterval attribute. |
void |
setFlowMaximum(int flowMaximum)
Deprecated. Sets the value of the FlowMaximum attribute. |
void |
setFlowMinimum(int flowMinimum)
Deprecated. Sets the value of the FlowMinimum attribute. |
void |
setFlowSteps(int flowSteps)
Deprecated. Sets the value of the FlowSteps attribute. |
void |
setJNDIName(String name)
Deprecated. Sets the value of the JNDIName attribute. |
void |
setLoadBalancingEnabled(boolean loadBalancingEnabled)
Deprecated. Sets the value of the LoadBalancingEnabled attribute. |
void |
setMessagesMaximum(int messagesMaximum)
Deprecated. Sets the value of the MessagesMaximum attribute. |
void |
setOverrunPolicy(String policy)
Deprecated. Sets the value of the OverrunPolicy attribute. |
void |
setSendTimeout(long sendTimeout)
Deprecated. Sets the value of the SendTimeout value. |
void |
setServerAffinityEnabled(boolean serverAffinityEnabled)
Deprecated. Sets the value of the ServerAffinityEnabled attribute. |
void |
setTransactionTimeout(long transactionTimeout)
Deprecated. Sets the value of the TransactionTimeout attribute. |
void |
setUserTransactionsEnabled(boolean userTransactionsEnabled)
Deprecated. 8.1.0.0 Replaced by weblogic.management.configuration.JMSConnectionFactoryMBean#XAConnectionFactoryEnabled |
void |
setXAConnectionFactoryEnabled(boolean XAConnectionFactoryEnabled)
Deprecated. Sets the value of the XAConnectionFactoryEnabled attribute. |
void |
setXAServerEnabled(boolean XAServerEnabled)
Deprecated. 8.1.0.0 Replaced by weblogic.management.configuration.JMSConnectionFactoryMBean#XAConnectionFactoryEnabled |
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
---|
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Method Detail |
---|
String getJNDIName()
The JNDI name used to look up this JMS connection factory within the JNDI namespace.
void setJNDIName(String name) throws InvalidAttributeValueException
Sets the value of the JNDIName attribute.
name
- The new jNDIName value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getJNDIName()
String getClientId()
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.
void setClientId(String id) throws InvalidAttributeValueException
Sets the value of the ClientId attribute.
id
- The new clientId value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getClientId()
int getDefaultPriority()
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.
void setDefaultPriority(int defaultPriority) throws InvalidAttributeValueException
Sets the value of the DefaultPriority attribute.
Message producers can set the priority explicitly by calling the javax.jms.MessageProducer.setPriority() method.
defaultPriority
- The new defaultPriority value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getDefaultPriority()
long getDefaultTimeToDeliver()
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.
void setDefaultTimeToDeliver(long timeToDeliver) throws InvalidAttributeValueException
Sets the value of the DefaultTimeToDeliver attribute.
timeToDeliver
- The new defaultTimeToDeliver value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getDefaultTimeToDeliver()
long getDefaultTimeToLive()
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.
void setDefaultTimeToLive(long defaultTimeToLive) throws InvalidAttributeValueException
Sets the value of the DefaultTimeToLive attribute.
defaultTimeToLive
- The new defaultTimeToLive value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getDefaultTimeToLive()
long getSendTimeout()
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.
void setSendTimeout(long sendTimeout) throws InvalidAttributeValueException
Sets the value of the SendTimeout value.
sendTimeout
- The new sendTimeout value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getSendTimeout()
String getDefaultDeliveryMode()
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.
void setDefaultDeliveryMode(String defaultDeliveryMode) throws InvalidAttributeValueException
Sets the value of the DefaultDeliveryMode value.
defaultDeliveryMode
- The new defaultDeliveryMode value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getDefaultDeliveryMode()
long getDefaultRedeliveryDelay()
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.
void setDefaultRedeliveryDelay(long defaultRedeliveryDelay) throws InvalidAttributeValueException
Sets the value of the DefaultRedeliveryDelay attribute.
defaultRedeliveryDelay
- The new defaultRedeliveryDelay value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getDefaultRedeliveryDelay()
long getTransactionTimeout()
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.
void setTransactionTimeout(long transactionTimeout) throws InvalidAttributeValueException
Sets the value of the TransactionTimeout attribute.
transactionTimeout
- The new transactionTimeout value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getTransactionTimeout()
boolean isUserTransactionsEnabled()
weblogic.management.configuration.JMSConnectionFactoryMBean#XAConnectionFactoryEnabled
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.
void setUserTransactionsEnabled(boolean userTransactionsEnabled) throws InvalidAttributeValueException
weblogic.management.configuration.JMSConnectionFactoryMBean#XAConnectionFactoryEnabled
Sets the value of the TransactionsEnabled attribute.
userTransactionsEnabled
- The new userTransactionsEnabled value
InvalidAttributeValueException
JMSConnectionFactoryMBean.isUserTransactionsEnabled()
boolean getAllowCloseInOnMessage()
Specifies whether a connection factory creates message consumers that allow a close() or stop() method to be issued within its onMessage() method call.
If selected (true), a close() method call from within an onMessage() method call will succeed instead of blocking forever. If the acknowledge mode of the session is set to AUTO_ACKNOWLEDGE, the current message will still be acknowledged automatically when the onMessage() call completes.
If not selected (false), it will cause the stop() and close() methods to hang if called from onMessage().
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.
void setAllowCloseInOnMessage(boolean allowCloseInOnMessage) throws InvalidAttributeValueException
Sets the value of the AllowCloseInOnMessage attribute.
allowCloseInOnMessage
- The new allowCloseInOnMessage value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getAllowCloseInOnMessage()
int getMessagesMaximum()
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:
For multicast sessions, new messages are discarded according the policy specified by the OverrunPolicy value and a DataOverrunException is thrown.
For non-multicast sessions, new messages are flow-controlled, or retained on the server until the application can accommodate the messages.
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.
void setMessagesMaximum(int messagesMaximum) throws InvalidAttributeValueException
Sets the value of the MessagesMaximum attribute.
messagesMaximum
- The new messagesMaximum value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getMessagesMaximum()
String getOverrunPolicy()
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.
If set to Keep New
, the most recent messages are
given priority over the oldest messages, and the oldest messages
are discarded, as needed.
If set to Keep Old
, 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.
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.
void setOverrunPolicy(String policy) throws InvalidAttributeValueException
Sets the value of the OverrunPolicy attribute.
policy
- The new overrunPolicy value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getOverrunPolicy()
boolean isXAConnectionFactoryEnabled()
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.
void setXAConnectionFactoryEnabled(boolean XAConnectionFactoryEnabled) throws InvalidAttributeValueException
Sets the value of the XAConnectionFactoryEnabled attribute.
XAConnectionFactoryEnabled
- The new xAConnectionFactoryEnabled value
InvalidAttributeValueException
JMSConnectionFactoryMBean.isXAConnectionFactoryEnabled()
String getAcknowledgePolicy()
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:
An acknowledge policy of ACKNOWLEDGE_PREVIOUS retains the old behavior (acknowledge all message up to and including the message being acknowledged).
An acknowledge policy of ACKNOWLEDGE_ALL yields the new behavior, where all messages received by the given session are acknowledged regardless of which message is being used to effect the acknowledge.
void setAcknowledgePolicy(String policy) throws InvalidAttributeValueException
Sets the value of the AcknowledgePolicy attribute.
policy
- The new acknowledgePolicy value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getAcknowledgePolicy()
int getFlowMinimum()
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.
void setFlowMinimum(int flowMinimum) throws InvalidAttributeValueException
Sets the value of the FlowMinimum attribute.
flowMinimum
- The new flowMinimum value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getFlowMinimum()
int getFlowMaximum()
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.
void setFlowMaximum(int flowMaximum) throws InvalidAttributeValueException
Sets the value of the FlowMaximum attribute.
flowMaximum
- The new flowMaximum value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getFlowMaximum()
int getFlowInterval()
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.
void setFlowInterval(int flowInterval) throws InvalidAttributeValueException
Sets the value of the FlowInterval attribute.
flowInterval
- The new flowInterval value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getFlowInterval()
int getFlowSteps()
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:
The downward movement (the decay) is geometric over the specified period of time (Flow Interval) and according to the specified number of Flow Steps. (For example, 100, 50, 25, 12.5)
The movement upward is linear. The difference is simply divided by the number of steps.
Note: This value is dynamic. It can be changed at any time. However, changing the value does not affect existing connections.
void setFlowSteps(int flowSteps) throws InvalidAttributeValueException
Sets the value of the FlowSteps attribute.
flowSteps
- The new flowSteps value
InvalidAttributeValueException
JMSConnectionFactoryMBean.getFlowSteps()
boolean isFlowControlEnabled()
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.
void setFlowControlEnabled(boolean flowControlEnabled) throws InvalidAttributeValueException
Sets the value of the FlowControlEnabled attribute.
flowControlEnabled
- The new flowControlEnabled value
InvalidAttributeValueException
JMSConnectionFactoryMBean.isFlowControlEnabled()
boolean isLoadBalancingEnabled()
Indicates whether non-anonymous producers sending to a distributed destination are load balanced on a per-send basis.
If true, the associated message producers will be load balanced on every send() or publish().
If false, the associated message producers will be load balanced on the first send() or publish().
void setLoadBalancingEnabled(boolean loadBalancingEnabled) throws InvalidAttributeValueException
Sets the value of the LoadBalancingEnabled attribute.
loadBalancingEnabled
- The new loadBalancingEnabled value
InvalidAttributeValueException
JMSConnectionFactoryMBean.isLoadBalancingEnabled()
boolean isServerAffinityEnabled()
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.
void setServerAffinityEnabled(boolean serverAffinityEnabled) throws InvalidAttributeValueException
Sets the value of the ServerAffinityEnabled attribute.
serverAffinityEnabled
- The new serverAffinityEnabled value
InvalidAttributeValueException
JMSConnectionFactoryMBean.isServerAffinityEnabled()
boolean isXAServerEnabled()
weblogic.management.configuration.JMSConnectionFactoryMBean#XAConnectionFactoryEnabled
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.
void setXAServerEnabled(boolean XAServerEnabled) throws InvalidAttributeValueException
weblogic.management.configuration.JMSConnectionFactoryMBean#XAConnectionFactoryEnabled
Sets the value of the XAServerEnabled attribute.
XAServerEnabled
- The new xAServerEnabled value
InvalidAttributeValueException
JMSConnectionFactoryMBean.isXAServerEnabled()
|
Copyright 1996, 2011, 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 Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |