Modifier and Type | Class and Description |
---|---|
class |
IllegalStateRuntimeException
This unchecked exception is thrown when a method is invoked at an illegal or inappropriate time or if the provider is
not in an appropriate state for the requested operation, and the method signature does not permit a
IllegalStateRuntimeException to be thrown. |
class |
InvalidClientIDRuntimeException
This unchecked exception must be thrown when a client attempts to set a connection's client ID to a value that is
rejected by a provider, and the method signature does not permit a
InvalidClientIDException to be thrown. |
class |
InvalidDestinationRuntimeException
This unchecked exception must be thrown when a destination either is not understood by a provider or is no longer
valid, and the method signature does not permit a
InvalidDestinationException to be thrown. |
class |
InvalidSelectorRuntimeException
This unchecked exception must be thrown when a Jakarta Messaging client attempts to give a provider a message selector with invalid
syntax, and the method signature does not permit a
InvalidSelectorException to be thrown. |
class |
JMSSecurityRuntimeException
This unchecked exception must be thrown when a provider rejects a user name/password submitted by a client, or for
any case where a security restriction prevents a method from completing, and the method signature does not permit a
JMSSecurityException to be thrown. |
class |
MessageFormatRuntimeException
This unchecked exception must be thrown when a Jakarta Messaging application attempts to use a data type not supported by a message
or attempts to read data in a message as the wrong type, and the method signature does not permit a
MessageFormatException to be thrown. |
class |
MessageNotWriteableRuntimeException
This unchecked exception must be thrown when a Jakarta Messaging client attempts to write to a read-only message.
|
class |
ResourceAllocationRuntimeException
This unchecked exception is thrown when a provider is unable to allocate the resources required by a method.
|
class |
TransactionInProgressRuntimeException
This unchecked exception is thrown when an operation is invalid because a transaction is in progress.
|
class |
TransactionRolledBackRuntimeException
This unchecked exception must be thrown when a call to
JMSContext.commit results in a rollback of the current
transaction. |
Modifier and Type | Method and Description |
---|---|
MessageListener |
JMSConsumer.getMessageListener()
Gets the
JMSConsumer 's MessageListener . |
void |
JMSConsumer.setMessageListener(MessageListener listener)
Sets the
JMSConsumer 's MessageListener . |
Comments to: jms-dev@eclipse.org.
Copyright © 2018, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.