public interface JMSSessionPoolMBean extends ConfigurationMBean, JMSConstants
DEFAULT_EMPTY_BYTE_ARRAY
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
Modifier and Type | Method and Description |
---|---|
boolean |
addConnectionConsumer(JMSConnectionConsumerMBean connectionConsumer)
Deprecated.
9.0.0.0 Replaced with message-driven beans.
|
JMSConnectionConsumerMBean |
createJMSConnectionConsumer(String name)
Deprecated.
The connection consumers for this JMS session pool.
|
void |
destroyJMSConnectionConsumer(JMSConnectionConsumerMBean connectionConsumer)
Deprecated.
Remove a connection consumer from the session pool.
|
String |
getAcknowledgeMode()
Deprecated.
The acknowledge mode used by non-transacted sessions within this
JMS session pool.
|
JMSConnectionConsumerMBean[] |
getConnectionConsumers()
Deprecated.
9.0.0.0 Replaced with message-driven beans.
|
String |
getConnectionFactory()
Deprecated.
The JNDI name of the connection factory for this JMS session
pool.
|
JMSConnectionConsumerMBean[] |
getJMSConnectionConsumers()
Deprecated.
The connection consumers for this JMS session pool.
|
String |
getListenerClass()
Deprecated.
The name of the server-side listener class for this JMS session
pool, which is used to receive and process messages
concurrently.
|
int |
getSessionsMaximum()
Deprecated.
The maximum number of sessions allowed for this JMS session
pool.
|
boolean |
isTransacted()
Deprecated.
Indicates whether this JMS session pool creates transacted
sessions.
|
JMSConnectionConsumerMBean |
lookupJMSConnectionConsumer(String name)
Deprecated.
Get a connection consumer from the session pool by name.
|
boolean |
removeConnectionConsumer(JMSConnectionConsumerMBean connectionConsumer)
Deprecated.
9.0.0.0 Replaced with message-driven beans.
|
void |
setAcknowledgeMode(String acknowledgeMode)
Deprecated.
Sets the value of the AcknowledgeMode attribute.
|
void |
setConnectionConsumers(JMSConnectionConsumerMBean[] consumers)
Deprecated.
9.0.0.0 Replaced with message-driven beans.
|
void |
setConnectionFactory(String connectionFactory)
Deprecated.
Sets the value of the ConnectionFactory attribute.
|
void |
setListenerClass(String name)
Deprecated.
Sets the value of the ListenerClass attribute.
|
void |
setSessionsMaximum(int maxSessions)
Deprecated.
Sets the value of the SessionsMaximum attribute.
|
void |
setTransacted(boolean transacted)
Deprecated.
Sets the value of the Transacted attribute.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
JMSConnectionConsumerMBean[] getConnectionConsumers()
The connection consumers for this JMS session pool. JMS connection consumers are queues (Point-To-Point) or topics (Pub/Sub) that retrieve server sessions and process messages. Once you have defined a session pool, you can configure one or more connection consumers for each session pool. This method is provided for backward compatibility.
void setConnectionConsumers(JMSConnectionConsumerMBean[] consumers) throws InvalidAttributeValueException
The connection consumers for this JMS session pool. JMS connection consumers are queues (Point-To-Point) or topics (Pub/Sub) that retrieve server sessions and process messages. Once you have defined a session pool, you can configure one or more connection consumers for each session pool. This method is provided for backward compatibility.
InvalidAttributeValueException
boolean addConnectionConsumer(JMSConnectionConsumerMBean connectionConsumer) throws InvalidAttributeValueException, DistributedManagementException
Add a connection consumer to the session pool. This method is provided for backward compatibility.
connectionConsumer
- the connection consumer to addInvalidAttributeValueException
DistributedManagementException
boolean removeConnectionConsumer(JMSConnectionConsumerMBean connectionConsumer) throws InvalidAttributeValueException, DistributedManagementException
Remove a connection consumer from the session pool. This method is provided for backward compatibility.
connectionConsumer
- a reference to JMSConnectionConsumerMBeanInvalidAttributeValueException
DistributedManagementException
JMSConnectionConsumerMBean[] getJMSConnectionConsumers()
The connection consumers for this JMS session pool. JMS connection consumers are queues (Point-To-Point) or topics (Pub/Sub) that retrieve server sessions and process messages. Once you have defined a session pool, you can configure one or more connection consumers for each session pool.
JMSConnectionConsumerMBean createJMSConnectionConsumer(String name) throws InvalidAttributeValueException, DistributedManagementException
The connection consumers for this JMS session pool. JMS connection consumers are queues (Point-To-Point) or topics (Pub/Sub) that retrieve server sessions and process messages. Once you have defined a session pool, you can configure one or more connection consumers for each session pool.
Create a connection consumer for the session pool.
name
- the name of the connection consumer to createInvalidAttributeValueException
DistributedManagementException
void destroyJMSConnectionConsumer(JMSConnectionConsumerMBean connectionConsumer)
Remove a connection consumer from the session pool.
connectionConsumer
- a reference to JMSConnectionConsumerMBeanJMSConnectionConsumerMBean lookupJMSConnectionConsumer(String name)
String getConnectionFactory()
The JNDI name of the connection factory for this JMS session pool. Connection factories are used to create connections with predefined attributes.
void setConnectionFactory(String connectionFactory) throws InvalidAttributeValueException
Sets the value of the ConnectionFactory attribute.
connectionFactory
- The new connectionFactory valueInvalidAttributeValueException
JMSSessionPoolMBean.getConnectionFactory()
String getListenerClass()
The name of the server-side listener class for this JMS session pool, which is used to receive and process messages concurrently.
void setListenerClass(String name) throws InvalidAttributeValueException
Sets the value of the ListenerClass attribute.
name
- The new listenerClass valueInvalidAttributeValueException
JMSSessionPoolMBean.getListenerClass()
String getAcknowledgeMode()
The acknowledge mode used by non-transacted sessions within this JMS session pool.
For transacted sessions, messages are acknowledged automatically when the session is committed and this value is ignored.
void setAcknowledgeMode(String acknowledgeMode) throws InvalidAttributeValueException
Sets the value of the AcknowledgeMode attribute.
acknowledgeMode
- The new acknowledgeMode valueInvalidAttributeValueException
JMSSessionPoolMBean.getAcknowledgeMode()
int getSessionsMaximum()
The maximum number of sessions allowed for this JMS session
pool. A value of -1
indicates that there is no
maximum.
This attribute is dynamically configurable; however, it does not take effect until the session pool is restarted.
void setSessionsMaximum(int maxSessions) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the SessionsMaximum attribute.
maxSessions
- The new sessionsMaximum valueInvalidAttributeValueException
DistributedManagementException
JMSSessionPoolMBean.getSessionsMaximum()
boolean isTransacted()
Indicates whether this JMS session pool creates transacted sessions.
void setTransacted(boolean transacted) throws InvalidAttributeValueException
Sets the value of the Transacted attribute.
transacted
- The new transacted valueInvalidAttributeValueException
JMSSessionPoolMBean.isTransacted()