Package | Description |
---|---|
javax.jms |
The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
|
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 JMS 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 JMS 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 JMS 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 . |
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.