A B C D E G I J L M N O P Q R S T U W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acknowledge() - Method in interface javax.jms.Message
-
Acknowledges all consumed messages of the session of this consumed message.
- AUTO_ACKNOWLEDGE - Static variable in interface javax.jms.Session
-
With this acknowledgment mode, the session automatically acknowledges a client's receipt of a message either when the session has successfully returned from a call to
receive
or when the message listener the session has called to process the message successfully returns.
B
- BytesMessage - Interface in javax.jms
-
A
BytesMessage
object is used to send a message containing a stream of uninterpreted bytes.
C
- clearBody() - Method in interface javax.jms.Message
-
Clears out the message body.
- clearProperties() - Method in interface javax.jms.Message
-
Clears a message's properties.
- CLIENT_ACKNOWLEDGE - Static variable in interface javax.jms.Session
-
With this acknowledgment mode, the client acknowledges a consumed message by calling the message's
acknowledge
method. - close() - Method in interface javax.jms.Connection
-
Closes the connection.
- close() - Method in interface javax.jms.ConnectionConsumer
-
Closes the connection consumer.
- close() - Method in interface javax.jms.MessageConsumer
-
Closes the message consumer.
- close() - Method in interface javax.jms.MessageProducer
-
Closes the message producer.
- close() - Method in interface javax.jms.QueueBrowser
-
Closes the
QueueBrowser
. - close() - Method in class javax.jms.QueueRequestor
- close() - Method in interface javax.jms.Session
-
Closes the session.
- close() - Method in class javax.jms.TopicRequestor
- commit() - Method in interface javax.jms.Session
-
Commits all messages done in this transaction and releases any locks currently held.
- commit() - Method in interface javax.jms.XASession
-
Throws a
TransactionInProgressException
, since it should not be called for anXASession
object. - Connection - Interface in javax.jms
-
A
Connection
object is a client's active connection to its JMS provider. - ConnectionConsumer - Interface in javax.jms
-
For application servers,
Connection
objects provide a special facility for creating aConnectionConsumer
(optional). - ConnectionFactory - Interface in javax.jms
-
A
ConnectionFactory
object encapsulates a set of connection configuration parameters that has been defined by an administrator. - ConnectionMetaData - Interface in javax.jms
-
A
ConnectionMetaData
object provides information describing theConnection
object. - createBrowser(Queue) - Method in interface javax.jms.QueueSession
-
Creates a
QueueBrowser
object to peek at the messages on the specified queue. - createBrowser(Queue) - Method in interface javax.jms.Session
-
Creates a
QueueBrowser
object to peek at the messages on the specified queue. - createBrowser(Queue, String) - Method in interface javax.jms.QueueSession
-
Creates a
QueueBrowser
object to peek at the messages on the specified queue using a message selector. - createBrowser(Queue, String) - Method in interface javax.jms.Session
-
Creates a
QueueBrowser
object to peek at the messages on the specified queue using a message selector. - createBytesMessage() - Method in interface javax.jms.Session
-
Creates a
BytesMessage
object. - createConnection() - Method in interface javax.jms.ConnectionFactory
-
Creates a connection with the default user identity.
- createConnection(String, String) - Method in interface javax.jms.ConnectionFactory
-
Creates a connection with the specified user identity.
- createConnectionConsumer(Destination, String, ServerSessionPool, int) - Method in interface javax.jms.Connection
-
Creates a connection consumer for this connection (optional operation).
- createConnectionConsumer(Queue, String, ServerSessionPool, int) - Method in interface javax.jms.QueueConnection
-
Creates a connection consumer for this connection (optional operation).
- createConnectionConsumer(Topic, String, ServerSessionPool, int) - Method in interface javax.jms.TopicConnection
-
Creates a connection consumer for this connection (optional operation).
- createConsumer(Destination) - Method in interface javax.jms.Session
-
Creates a
MessageConsumer
for the specified destination. - createConsumer(Destination, String) - Method in interface javax.jms.Session
-
Creates a
MessageConsumer
for the specified destination, using a message selector. - createConsumer(Destination, String, boolean) - Method in interface javax.jms.Session
-
Creates
MessageConsumer
for the specified destination, using a message selector. - createDurableConnectionConsumer(Topic, String, String, ServerSessionPool, int) - Method in interface javax.jms.Connection
-
Create a durable connection consumer for this connection (optional operation).
- createDurableConnectionConsumer(Topic, String, String, ServerSessionPool, int) - Method in interface javax.jms.TopicConnection
-
Create a durable connection consumer for this connection (optional operation).
- createDurableSubscriber(Topic, String) - Method in interface javax.jms.Session
-
Creates a durable subscriber to the specified topic.
- createDurableSubscriber(Topic, String) - Method in interface javax.jms.TopicSession
-
Creates a durable subscriber to the specified topic.
- createDurableSubscriber(Topic, String, String, boolean) - Method in interface javax.jms.Session
-
Creates a durable subscriber to the specified topic, using a message selector and specifying whether messages published by its own connection should be delivered to it.
- createDurableSubscriber(Topic, String, String, boolean) - Method in interface javax.jms.TopicSession
-
Creates a durable subscriber to the specified topic, using a message selector or specifying whether messages published by its own connection should be delivered to it.
- createMapMessage() - Method in interface javax.jms.Session
-
Creates a
MapMessage
object. - createMessage() - Method in interface javax.jms.Session
-
Creates a
Message
object. - createObjectMessage() - Method in interface javax.jms.Session
-
Creates an
ObjectMessage
object. - createObjectMessage(Serializable) - Method in interface javax.jms.Session
-
Creates an initialized
ObjectMessage
object. - createProducer(Destination) - Method in interface javax.jms.Session
-
Creates a
MessageProducer
to send messages to the specified destination. - createPublisher(Topic) - Method in interface javax.jms.TopicSession
-
Creates a publisher for the specified topic.
- createQueue(String) - Method in interface javax.jms.QueueSession
-
Creates a queue identity given a
Queue
name. - createQueue(String) - Method in interface javax.jms.Session
-
Creates a queue identity given a
Queue
name. - createQueueConnection() - Method in interface javax.jms.QueueConnectionFactory
-
Creates a queue connection with the default user identity.
- createQueueConnection(String, String) - Method in interface javax.jms.QueueConnectionFactory
-
Creates a queue connection with the specified user identity.
- createQueueSession(boolean, int) - Method in interface javax.jms.QueueConnection
-
Creates a
QueueSession
object. - createQueueSession(boolean, int) - Method in interface javax.jms.XAQueueConnection
-
Creates an
XAQueueSession
object. - createReceiver(Queue) - Method in interface javax.jms.QueueSession
-
Creates a
QueueReceiver
object to receive messages from the specified queue. - createReceiver(Queue, String) - Method in interface javax.jms.QueueSession
-
Creates a
QueueReceiver
object to receive messages from the specified queue using a message selector. - createSender(Queue) - Method in interface javax.jms.QueueSession
-
Creates a
QueueSender
object to send messages to the specified queue. - createSession(boolean, int) - Method in interface javax.jms.Connection
-
Creates a
Session
object. - createSession(boolean, int) - Method in interface javax.jms.XAConnection
-
Creates an
Session
object. - createStreamMessage() - Method in interface javax.jms.Session
-
Creates a
StreamMessage
object. - createSubscriber(Topic) - Method in interface javax.jms.TopicSession
-
Creates a nondurable subscriber to the specified topic.
- createSubscriber(Topic, String, boolean) - Method in interface javax.jms.TopicSession
-
Creates a nondurable subscriber to the specified topic, using a message selector or specifying whether messages published by its own connection should be delivered to it.
- createTemporaryQueue() - Method in interface javax.jms.QueueSession
-
Creates a
TemporaryQueue
object. - createTemporaryQueue() - Method in interface javax.jms.Session
-
Creates a
TemporaryQueue
object. - createTemporaryTopic() - Method in interface javax.jms.Session
-
Creates a
TemporaryTopic
object. - createTemporaryTopic() - Method in interface javax.jms.TopicSession
-
Creates a
TemporaryTopic
object. - createTextMessage() - Method in interface javax.jms.Session
-
Creates a
TextMessage
object. - createTextMessage(String) - Method in interface javax.jms.Session
-
Creates an initialized
TextMessage
object. - createTopic(String) - Method in interface javax.jms.Session
-
Creates a topic identity given a
Topic
name. - createTopic(String) - Method in interface javax.jms.TopicSession
-
Creates a topic identity given a
Topic
name. - createTopicConnection() - Method in interface javax.jms.TopicConnectionFactory
-
Creates a topic connection with the default user identity.
- createTopicConnection(String, String) - Method in interface javax.jms.TopicConnectionFactory
-
Creates a topic connection with the specified user identity.
- createTopicSession(boolean, int) - Method in interface javax.jms.TopicConnection
-
Creates a
TopicSession
object. - createTopicSession(boolean, int) - Method in interface javax.jms.XATopicConnection
-
Creates an
XATopicSession
object. - createXAConnection() - Method in interface javax.jms.XAConnectionFactory
-
Creates an
XAConnection
with the default user identity. - createXAConnection(String, String) - Method in interface javax.jms.XAConnectionFactory
-
Creates an XA connection with the specified user identity.
- createXAQueueConnection() - Method in interface javax.jms.XAQueueConnectionFactory
-
Creates an XA queue connection with the default user identity.
- createXAQueueConnection(String, String) - Method in interface javax.jms.XAQueueConnectionFactory
-
Creates an XA queue connection with the specified user identity.
- createXAQueueSession() - Method in interface javax.jms.XAQueueConnection
-
Creates an
XAQueueSession
object. - createXASession() - Method in interface javax.jms.XAConnection
-
Creates an
XASession
object. - createXATopicConnection() - Method in interface javax.jms.XATopicConnectionFactory
-
Creates an XA topic connection with the default user identity.
- createXATopicConnection(String, String) - Method in interface javax.jms.XATopicConnectionFactory
-
Creates an XA topic connection with the specified user identity.
- createXATopicSession() - Method in interface javax.jms.XATopicConnection
-
Creates an
XATopicSession
object.
D
- DEFAULT_DELIVERY_MODE - Static variable in interface javax.jms.Message
-
The message producer's default delivery mode is
PERSISTENT
. - DEFAULT_PRIORITY - Static variable in interface javax.jms.Message
-
The message producer's default priority is 4.
- DEFAULT_TIME_TO_LIVE - Static variable in interface javax.jms.Message
-
The message producer's default time to live is unlimited; the message never expires.
- delete() - Method in interface javax.jms.TemporaryQueue
-
Deletes this temporary queue.
- delete() - Method in interface javax.jms.TemporaryTopic
-
Deletes this temporary topic.
- DeliveryMode - Interface in javax.jms
-
The delivery modes supported by the JMS API are
PERSISTENT
andNON_PERSISTENT
. - Destination - Interface in javax.jms
-
A
Destination
object encapsulates a provider-specific address. - DUPS_OK_ACKNOWLEDGE - Static variable in interface javax.jms.Session
-
This acknowledgment mode instructs the session to lazily acknowledge the delivery of messages.
E
- errorCode - Variable in exception javax.jms.JMSException
-
Vendor-specific error code.
- ExceptionListener - Interface in javax.jms
-
If a JMS provider detects a serious problem with a
Connection
object, it informs theConnection
object'sExceptionListener
, if one has been registered.
G
- getAcknowledgeMode() - Method in interface javax.jms.Session
-
Returns the acknowledgement mode of the session.
- getBodyLength() - Method in interface javax.jms.BytesMessage
-
Gets the number of bytes of the message body when the message is in read-only mode.
- getBoolean(String) - Method in interface javax.jms.MapMessage
-
Returns the
boolean
value with the specified name. - getBooleanProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
boolean
property with the specified name. - getByte(String) - Method in interface javax.jms.MapMessage
-
Returns the
byte
value with the specified name. - getByteProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
byte
property with the specified name. - getBytes(String) - Method in interface javax.jms.MapMessage
-
Returns the byte array value with the specified name.
- getChar(String) - Method in interface javax.jms.MapMessage
-
Returns the Unicode character value with the specified name.
- getClientID() - Method in interface javax.jms.Connection
-
Gets the client identifier for this connection.
- getDeliveryMode() - Method in interface javax.jms.MessageProducer
-
Gets the producer's default delivery mode.
- getDestination() - Method in interface javax.jms.MessageProducer
-
Gets the destination associated with this
MessageProducer
. - getDisableMessageID() - Method in interface javax.jms.MessageProducer
-
Gets an indication of whether message IDs are disabled.
- getDisableMessageTimestamp() - Method in interface javax.jms.MessageProducer
-
Gets an indication of whether message timestamps are disabled.
- getDouble(String) - Method in interface javax.jms.MapMessage
-
Returns the
double
value with the specified name. - getDoubleProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
double
property with the specified name. - getEnumeration() - Method in interface javax.jms.QueueBrowser
-
Gets an enumeration for browsing the current queue messages in the order they would be received.
- getErrorCode() - Method in exception javax.jms.JMSException
-
Gets the vendor-specific error code.
- getExceptionListener() - Method in interface javax.jms.Connection
-
Gets the
ExceptionListener
object for this connection. - getFloat(String) - Method in interface javax.jms.MapMessage
-
Returns the
float
value with the specified name. - getFloatProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
float
property with the specified name. - getInt(String) - Method in interface javax.jms.MapMessage
-
Returns the
int
value with the specified name. - getIntProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
int
property with the specified name. - getJMSCorrelationID() - Method in interface javax.jms.Message
-
Gets the correlation ID for the message.
- getJMSCorrelationIDAsBytes() - Method in interface javax.jms.Message
-
Gets the correlation ID as an array of bytes for the message.
- getJMSDeliveryMode() - Method in interface javax.jms.Message
-
Gets the
DeliveryMode
value specified for this message. - getJMSDestination() - Method in interface javax.jms.Message
-
Gets the
Destination
object for this message. - getJMSExpiration() - Method in interface javax.jms.Message
-
Gets the message's expiration value.
- getJMSMajorVersion() - Method in interface javax.jms.ConnectionMetaData
-
Gets the JMS major version number.
- getJMSMessageID() - Method in interface javax.jms.Message
-
Gets the message ID.
- getJMSMinorVersion() - Method in interface javax.jms.ConnectionMetaData
-
Gets the JMS minor version number.
- getJMSPriority() - Method in interface javax.jms.Message
-
Gets the message priority level.
- getJMSProviderName() - Method in interface javax.jms.ConnectionMetaData
-
Gets the JMS provider name.
- getJMSRedelivered() - Method in interface javax.jms.Message
-
Gets an indication of whether this message is being redelivered.
- getJMSReplyTo() - Method in interface javax.jms.Message
-
Gets the
Destination
object to which a reply to this message should be sent. - getJMSTimestamp() - Method in interface javax.jms.Message
-
Gets the message timestamp.
- getJMSType() - Method in interface javax.jms.Message
-
Gets the message type identifier supplied by the client when the message was sent.
- getJMSVersion() - Method in interface javax.jms.ConnectionMetaData
-
Gets the JMS API version.
- getJMSXPropertyNames() - Method in interface javax.jms.ConnectionMetaData
-
Gets an enumeration of the JMSX property names.
- getLinkedException() - Method in exception javax.jms.JMSException
-
Gets the exception linked to this one.
- getLong(String) - Method in interface javax.jms.MapMessage
-
Returns the
long
value with the specified name. - getLongProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
long
property with the specified name. - getMapNames() - Method in interface javax.jms.MapMessage
-
Returns an
Enumeration
of all the names in theMapMessage
object. - getMessageListener() - Method in interface javax.jms.MessageConsumer
-
Gets the message consumer's
MessageListener
. - getMessageListener() - Method in interface javax.jms.Session
-
Returns the session's distinguished message listener (optional).
- getMessageSelector() - Method in interface javax.jms.MessageConsumer
-
Gets this message consumer's message selector expression.
- getMessageSelector() - Method in interface javax.jms.QueueBrowser
-
Gets this queue browser's message selector expression.
- getMetaData() - Method in interface javax.jms.Connection
-
Gets the metadata for this connection.
- getNoLocal() - Method in interface javax.jms.TopicSubscriber
-
Gets the
NoLocal
attribute for this subscriber. - getObject() - Method in interface javax.jms.ObjectMessage
-
Gets the serializable object containing this message's data.
- getObject(String) - Method in interface javax.jms.MapMessage
-
Returns the value of the object with the specified name.
- getObjectProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the Java object property with the specified name.
- getPriority() - Method in interface javax.jms.MessageProducer
-
Gets the producer's default priority.
- getPropertyNames() - Method in interface javax.jms.Message
-
Returns an
Enumeration
of all the property names. - getProviderMajorVersion() - Method in interface javax.jms.ConnectionMetaData
-
Gets the JMS provider major version number.
- getProviderMinorVersion() - Method in interface javax.jms.ConnectionMetaData
-
Gets the JMS provider minor version number.
- getProviderVersion() - Method in interface javax.jms.ConnectionMetaData
-
Gets the JMS provider version.
- getQueue() - Method in interface javax.jms.QueueBrowser
-
Gets the queue associated with this queue browser.
- getQueue() - Method in interface javax.jms.QueueReceiver
-
Gets the
Queue
associated with this queue receiver. - getQueue() - Method in interface javax.jms.QueueSender
-
Gets the queue associated with this
QueueSender
. - getQueueName() - Method in interface javax.jms.Queue
-
Gets the name of this queue.
- getQueueSession() - Method in interface javax.jms.XAQueueSession
-
Gets the queue session associated with this
XAQueueSession
. - getServerSession() - Method in interface javax.jms.ServerSessionPool
-
Return a server session from the pool.
- getServerSessionPool() - Method in interface javax.jms.ConnectionConsumer
-
Gets the server session pool associated with this connection consumer.
- getSession() - Method in interface javax.jms.ServerSession
-
Return the
ServerSession
'sSession
. - getSession() - Method in interface javax.jms.XASession
-
Gets the session associated with this
XASession
. - getShort(String) - Method in interface javax.jms.MapMessage
-
Returns the
short
value with the specified name. - getShortProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
short
property with the specified name. - getString(String) - Method in interface javax.jms.MapMessage
-
Returns the
String
value with the specified name. - getStringProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
String
property with the specified name. - getText() - Method in interface javax.jms.TextMessage
-
Gets the string containing this message's data.
- getTimeToLive() - Method in interface javax.jms.MessageProducer
-
Gets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system.
- getTopic() - Method in interface javax.jms.TopicPublisher
-
Gets the topic associated with this
TopicPublisher
. - getTopic() - Method in interface javax.jms.TopicSubscriber
-
Gets the
Topic
associated with this subscriber. - getTopicName() - Method in interface javax.jms.Topic
-
Gets the name of this topic.
- getTopicSession() - Method in interface javax.jms.XATopicSession
-
Gets the topic session associated with this
XATopicSession
. - getTransacted() - Method in interface javax.jms.Session
-
Indicates whether the session is in transacted mode.
- getTransacted() - Method in interface javax.jms.XASession
-
Indicates whether the session is in transacted mode.
- getXAResource() - Method in interface javax.jms.XASession
-
Returns an XA resource to the caller.
I
- IllegalStateException - Exception in javax.jms
-
This 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.
- IllegalStateException(String) - Constructor for exception javax.jms.IllegalStateException
-
Constructs an
IllegalStateException
with the specified reason. - IllegalStateException(String, String) - Constructor for exception javax.jms.IllegalStateException
-
Constructs an
IllegalStateException
with the specified reason and error code. - InvalidClientIDException - Exception in javax.jms
-
This exception must be thrown when a client attempts to set a connection's client ID to a value that is rejected by a provider.
- InvalidClientIDException(String) - Constructor for exception javax.jms.InvalidClientIDException
-
Constructs an
InvalidClientIDException
with the specified reason. - InvalidClientIDException(String, String) - Constructor for exception javax.jms.InvalidClientIDException
-
Constructs an
InvalidClientIDException
with the specified reason and error code. - InvalidDestinationException - Exception in javax.jms
-
This exception must be thrown when a destination either is not understood by a provider or is no longer valid.
- InvalidDestinationException(String) - Constructor for exception javax.jms.InvalidDestinationException
-
Constructs an
InvalidDestinationException
with the specified reason. - InvalidDestinationException(String, String) - Constructor for exception javax.jms.InvalidDestinationException
-
Constructs an
InvalidDestinationException
with the specified reason and error code. - InvalidSelectorException - Exception in javax.jms
-
This exception must be thrown when a JMS client attempts to give a provider a message selector with invalid syntax.
- InvalidSelectorException(String) - Constructor for exception javax.jms.InvalidSelectorException
-
Constructs an
InvalidSelectorException
with the specified reason. - InvalidSelectorException(String, String) - Constructor for exception javax.jms.InvalidSelectorException
-
Constructs an
InvalidSelectorException
with the specified reason and error code. - itemExists(String) - Method in interface javax.jms.MapMessage
-
Indicates whether an item exists in this
MapMessage
object.
J
- javax.jms - package javax.jms
-
JMS 1.1 API.
- JMSException - Exception in javax.jms
-
This is the root class of all JMS API exceptions.
- JMSException(String) - Constructor for exception javax.jms.JMSException
-
Constructs a
JMSException
with the specified reason and with the error code defaulting to null. - JMSException(String, String) - Constructor for exception javax.jms.JMSException
-
Constructs a
JMSException
with the specified reason and error code. - JMSSecurityException - Exception in javax.jms
-
This exception must be thrown when a provider rejects a user name/password submitted by a client.
- JMSSecurityException(String) - Constructor for exception javax.jms.JMSSecurityException
-
Constructs a
JMSSecurityException
with the specified reason. - JMSSecurityException(String, String) - Constructor for exception javax.jms.JMSSecurityException
-
Constructs a
JMSSecurityException
with the specified reason and error code.
L
- linkedException - Variable in exception javax.jms.JMSException
-
Exception
reference.
M
- MapMessage - Interface in javax.jms
-
A
MapMessage
object is used to send a set of name-value pairs. - Message - Interface in javax.jms
-
The
Message
interface is the root interface of all JMS messages. - MessageConsumer - Interface in javax.jms
-
A client uses a
MessageConsumer
object to receive messages from a destination. - MessageEOFException - Exception in javax.jms
-
This exception must be thrown when an unexpected end of stream has been reached when a
StreamMessage
orBytesMessage
is being read. - MessageEOFException(String) - Constructor for exception javax.jms.MessageEOFException
-
Constructs a
MessageEOFException
with the specified reason. - MessageEOFException(String, String) - Constructor for exception javax.jms.MessageEOFException
-
Constructs a
MessageEOFException
with the specified reason and error code. - MessageFormatException - Exception in javax.jms
-
This exception must be thrown when a JMS client attempts to use a data type not supported by a message or attempts to read data in a message as the wrong type.
- MessageFormatException(String) - Constructor for exception javax.jms.MessageFormatException
-
Constructs a
MessageFormatException
with the specified reason. - MessageFormatException(String, String) - Constructor for exception javax.jms.MessageFormatException
-
Constructs a
MessageFormatException
with the specified reason and error code. - MessageListener - Interface in javax.jms
-
A
MessageListener
object is used to receive asynchronously delivered messages. - MessageNotReadableException - Exception in javax.jms
-
This exception must be thrown when a JMS client attempts to read a write-only message.
- MessageNotReadableException(String) - Constructor for exception javax.jms.MessageNotReadableException
-
Constructs a
MessageNotReadableException
with the specified reason. - MessageNotReadableException(String, String) - Constructor for exception javax.jms.MessageNotReadableException
-
Constructs a
MessageNotReadableException
with the specified reason and error code. - MessageNotWriteableException - Exception in javax.jms
-
This exception must be thrown when a JMS client attempts to write to a read-only message.
- MessageNotWriteableException(String) - Constructor for exception javax.jms.MessageNotWriteableException
-
Constructs a
MessageNotWriteableException
with the specified reason. - MessageNotWriteableException(String, String) - Constructor for exception javax.jms.MessageNotWriteableException
-
Constructs a
MessageNotWriteableException
with the specified reason and error code. - MessageProducer - Interface in javax.jms
-
A client uses a
MessageProducer
object to send messages to a destination.
N
- NON_PERSISTENT - Static variable in interface javax.jms.DeliveryMode
-
This is the lowest-overhead delivery mode because it does not require that the message be logged to stable storage.
O
- ObjectMessage - Interface in javax.jms
-
An
ObjectMessage
object is used to send a message that contains a serializable object in the Java programming language ("Java object"). - onException(JMSException) - Method in interface javax.jms.ExceptionListener
-
Notifies user of a JMS exception.
- onMessage(Message) - Method in interface javax.jms.MessageListener
-
Passes a message to the listener.
P
- PERSISTENT - Static variable in interface javax.jms.DeliveryMode
-
This delivery mode instructs the JMS provider to log the message to stable storage as part of the client's send operation.
- propertyExists(String) - Method in interface javax.jms.Message
-
Indicates whether a property value exists.
- publish(Message) - Method in interface javax.jms.TopicPublisher
-
Publishes a message to the topic.
- publish(Message, int, int, long) - Method in interface javax.jms.TopicPublisher
-
Publishes a message to the topic, specifying delivery mode, priority, and time to live.
- publish(Topic, Message) - Method in interface javax.jms.TopicPublisher
-
Publishes a message to a topic for an unidentified message producer.
- publish(Topic, Message, int, int, long) - Method in interface javax.jms.TopicPublisher
-
Publishes a message to a topic for an unidentified message producer, specifying delivery mode, priority and time to live.
Q
- Queue - Interface in javax.jms
-
A
Queue
object encapsulates a provider-specific queue name. - QueueBrowser - Interface in javax.jms
-
A client uses a
QueueBrowser
object to look at messages on a queue without removing them. - QueueConnection - Interface in javax.jms
-
A
QueueConnection
object is an active connection to a point-to-point JMS provider. - QueueConnectionFactory - Interface in javax.jms
-
A client uses a
QueueConnectionFactory
object to createQueueConnection
objects with a point-to-point JMS provider. - QueueReceiver - Interface in javax.jms
-
A client uses a
QueueReceiver
object to receive messages that have been delivered to a queue. - QueueRequestor - Class in javax.jms
-
A queue requestor
- QueueRequestor(QueueSession, Queue) - Constructor for class javax.jms.QueueRequestor
- QueueSender - Interface in javax.jms
-
A client uses a
QueueSender
object to send messages to a queue. - queueSession - Variable in class javax.jms.QueueRequestor
- QueueSession - Interface in javax.jms
-
A
QueueSession
object provides methods for creatingQueueReceiver
,QueueSender
,QueueBrowser
, andTemporaryQueue
objects.
R
- readBoolean() - Method in interface javax.jms.BytesMessage
-
Reads a
boolean
from the bytes message stream. - readBoolean() - Method in interface javax.jms.StreamMessage
-
Reads a
boolean
from the stream message. - readByte() - Method in interface javax.jms.BytesMessage
-
Reads a signed 8-bit value from the bytes message stream.
- readByte() - Method in interface javax.jms.StreamMessage
-
Reads a
byte
value from the stream message. - readBytes(byte[]) - Method in interface javax.jms.BytesMessage
-
Reads a byte array from the bytes message stream.
- readBytes(byte[]) - Method in interface javax.jms.StreamMessage
-
Reads a byte array field from the stream message into the specified
byte[]
object (the read buffer). - readBytes(byte[], int) - Method in interface javax.jms.BytesMessage
-
Reads a portion of the bytes message stream.
- readChar() - Method in interface javax.jms.BytesMessage
-
Reads a Unicode character value from the bytes message stream.
- readChar() - Method in interface javax.jms.StreamMessage
-
Reads a Unicode character value from the stream message.
- readDouble() - Method in interface javax.jms.BytesMessage
-
Reads a
double
from the bytes message stream. - readDouble() - Method in interface javax.jms.StreamMessage
-
Reads a
double
from the stream message. - readFloat() - Method in interface javax.jms.BytesMessage
-
Reads a
float
from the bytes message stream. - readFloat() - Method in interface javax.jms.StreamMessage
-
Reads a
float
from the stream message. - readInt() - Method in interface javax.jms.BytesMessage
-
Reads a signed 32-bit integer from the bytes message stream.
- readInt() - Method in interface javax.jms.StreamMessage
-
Reads a 32-bit integer from the stream message.
- readLong() - Method in interface javax.jms.BytesMessage
-
Reads a signed 64-bit integer from the bytes message stream.
- readLong() - Method in interface javax.jms.StreamMessage
-
Reads a 64-bit integer from the stream message.
- readObject() - Method in interface javax.jms.StreamMessage
-
Reads an object from the stream message.
- readShort() - Method in interface javax.jms.BytesMessage
-
Reads a signed 16-bit number from the bytes message stream.
- readShort() - Method in interface javax.jms.StreamMessage
-
Reads a 16-bit integer from the stream message.
- readString() - Method in interface javax.jms.StreamMessage
-
Reads a
String
from the stream message. - readUnsignedByte() - Method in interface javax.jms.BytesMessage
-
Reads an unsigned 8-bit number from the bytes message stream.
- readUnsignedShort() - Method in interface javax.jms.BytesMessage
-
Reads an unsigned 16-bit number from the bytes message stream.
- readUTF() - Method in interface javax.jms.BytesMessage
-
Reads a string that has been encoded using a modified UTF-8 format from the bytes message stream.
- receive() - Method in interface javax.jms.MessageConsumer
-
Receives the next message produced for this message consumer.
- receive(long) - Method in interface javax.jms.MessageConsumer
-
Receives the next message that arrives within the specified timeout interval.
- receiveNoWait() - Method in interface javax.jms.MessageConsumer
-
Receives the next message if one is immediately available.
- recover() - Method in interface javax.jms.Session
-
Stops message delivery in this session, and restarts message delivery with the oldest unacknowledged message.
- replyQueue - Variable in class javax.jms.QueueRequestor
- replyReceiver - Variable in class javax.jms.QueueRequestor
- request(Message) - Method in class javax.jms.QueueRequestor
- request(Message) - Method in class javax.jms.TopicRequestor
- requestPublisher - Variable in class javax.jms.TopicRequestor
- requestSender - Variable in class javax.jms.QueueRequestor
- reset() - Method in interface javax.jms.BytesMessage
-
Puts the message body in read-only mode and repositions the stream of bytes to the beginning.
- reset() - Method in interface javax.jms.StreamMessage
-
Puts the message body in read-only mode and repositions the stream to the beginning.
- ResourceAllocationException - Exception in javax.jms
-
This exception is thrown when a provider is unable to allocate the resources required by a method.
- ResourceAllocationException(String) - Constructor for exception javax.jms.ResourceAllocationException
-
Constructs a
ResourceAllocationException
with the specified reason. - ResourceAllocationException(String, String) - Constructor for exception javax.jms.ResourceAllocationException
-
Constructs a
ResourceAllocationException
with the specified reason and error code. - responseSubscriber - Variable in class javax.jms.TopicRequestor
- responseTopic - Variable in class javax.jms.TopicRequestor
- rollback() - Method in interface javax.jms.Session
-
Rolls back any messages done in this transaction and releases any locks currently held.
- rollback() - Method in interface javax.jms.XASession
-
Throws a
TransactionInProgressException
, since it should not be called for anXASession
object. - run() - Method in interface javax.jms.Session
-
Optional operation, intended to be used only by Application Servers, not by ordinary JMS clients.
S
- send(Destination, Message) - Method in interface javax.jms.MessageProducer
-
Sends a message to a destination for an unidentified message producer.
- send(Destination, Message, int, int, long) - Method in interface javax.jms.MessageProducer
-
Sends a message to a destination for an unidentified message producer, specifying delivery mode, priority and time to live.
- send(Message) - Method in interface javax.jms.MessageProducer
-
Sends a message using the
MessageProducer
's default delivery mode, priority, and time to live. - send(Message) - Method in interface javax.jms.QueueSender
-
Sends a message to the queue.
- send(Message, int, int, long) - Method in interface javax.jms.MessageProducer
-
Sends a message to the destination, specifying delivery mode, priority, and time to live.
- send(Message, int, int, long) - Method in interface javax.jms.QueueSender
-
Sends a message to the queue, specifying delivery mode, priority, and time to live.
- send(Queue, Message) - Method in interface javax.jms.QueueSender
-
Sends a message to a queue for an unidentified message producer.
- send(Queue, Message, int, int, long) - Method in interface javax.jms.QueueSender
-
Sends a message to a queue for an unidentified message producer, specifying delivery mode, priority and time to live.
- serialVersionUID - Static variable in exception javax.jms.IllegalStateException
- serialVersionUID - Static variable in exception javax.jms.InvalidClientIDException
- serialVersionUID - Static variable in exception javax.jms.InvalidDestinationException
- serialVersionUID - Static variable in exception javax.jms.InvalidSelectorException
- serialVersionUID - Static variable in exception javax.jms.JMSException
- serialVersionUID - Static variable in exception javax.jms.JMSSecurityException
- serialVersionUID - Static variable in exception javax.jms.MessageEOFException
- serialVersionUID - Static variable in exception javax.jms.MessageFormatException
- serialVersionUID - Static variable in exception javax.jms.MessageNotReadableException
- serialVersionUID - Static variable in exception javax.jms.MessageNotWriteableException
- serialVersionUID - Static variable in exception javax.jms.ResourceAllocationException
- serialVersionUID - Static variable in exception javax.jms.TransactionInProgressException
- serialVersionUID - Static variable in exception javax.jms.TransactionRolledBackException
- ServerSession - Interface in javax.jms
-
A
ServerSession
object is an application server object that is used by a server to associate a thread with a JMS session (optional). - ServerSessionPool - Interface in javax.jms
-
A
ServerSessionPool
object is an object implemented by an application server to provide a pool ofServerSession
objects for processing the messages of aConnectionConsumer
(optional). - Session - Interface in javax.jms
-
A
Session
object is a single-threaded context for producing and consuming messages. - SESSION_TRANSACTED - Static variable in interface javax.jms.Session
-
This value is returned from the method
getAcknowledgeMode
if the session is transacted. - setBoolean(String, boolean) - Method in interface javax.jms.MapMessage
-
Sets a
boolean
value with the specified name into the Map. - setBooleanProperty(String, boolean) - Method in interface javax.jms.Message
-
Sets a
boolean
property value with the specified name into the message. - setByte(String, byte) - Method in interface javax.jms.MapMessage
-
Sets a
byte
value with the specified name into the Map. - setByteProperty(String, byte) - Method in interface javax.jms.Message
-
Sets a
byte
property value with the specified name into the message. - setBytes(String, byte[]) - Method in interface javax.jms.MapMessage
-
Sets a byte array value with the specified name into the Map.
- setBytes(String, byte[], int, int) - Method in interface javax.jms.MapMessage
-
Sets a portion of the byte array value with the specified name into the Map.
- setChar(String, char) - Method in interface javax.jms.MapMessage
-
Sets a Unicode character value with the specified name into the Map.
- setClientID(String) - Method in interface javax.jms.Connection
-
Sets the client identifier for this connection.
- setDeliveryMode(int) - Method in interface javax.jms.MessageProducer
-
Sets the producer's default delivery mode.
- setDisableMessageID(boolean) - Method in interface javax.jms.MessageProducer
-
Sets whether message IDs are disabled.
- setDisableMessageTimestamp(boolean) - Method in interface javax.jms.MessageProducer
-
Sets whether message timestamps are disabled.
- setDouble(String, double) - Method in interface javax.jms.MapMessage
-
Sets a
double
value with the specified name into the Map. - setDoubleProperty(String, double) - Method in interface javax.jms.Message
-
Sets a
double
property value with the specified name into the message. - setExceptionListener(ExceptionListener) - Method in interface javax.jms.Connection
-
Sets an exception listener for this connection.
- setFloat(String, float) - Method in interface javax.jms.MapMessage
-
Sets a
float
value with the specified name into the Map. - setFloatProperty(String, float) - Method in interface javax.jms.Message
-
Sets a
float
property value with the specified name into the message. - setInt(String, int) - Method in interface javax.jms.MapMessage
-
Sets an
int
value with the specified name into the Map. - setIntProperty(String, int) - Method in interface javax.jms.Message
-
Sets an
int
property value with the specified name into the message. - setJMSCorrelationID(String) - Method in interface javax.jms.Message
-
Sets the correlation ID for the message.
- setJMSCorrelationIDAsBytes(byte[]) - Method in interface javax.jms.Message
-
Sets the correlation ID as an array of bytes for the message.
- setJMSDeliveryMode(int) - Method in interface javax.jms.Message
-
Sets the
DeliveryMode
value for this message. - setJMSDestination(Destination) - Method in interface javax.jms.Message
-
Sets the
Destination
object for this message. - setJMSExpiration(long) - Method in interface javax.jms.Message
-
Sets the message's expiration value.
- setJMSMessageID(String) - Method in interface javax.jms.Message
-
Sets the message ID.
- setJMSPriority(int) - Method in interface javax.jms.Message
-
Sets the priority level for this message.
- setJMSRedelivered(boolean) - Method in interface javax.jms.Message
-
Specifies whether this message is being redelivered.
- setJMSReplyTo(Destination) - Method in interface javax.jms.Message
-
Sets the
Destination
object to which a reply to this message should be sent. - setJMSTimestamp(long) - Method in interface javax.jms.Message
-
Sets the message timestamp.
- setJMSType(String) - Method in interface javax.jms.Message
-
Sets the message type.
- setLinkedException(Exception) - Method in exception javax.jms.JMSException
-
Adds a linked
Exception
. - setLong(String, long) - Method in interface javax.jms.MapMessage
-
Sets a
long
value with the specified name into the Map. - setLongProperty(String, long) - Method in interface javax.jms.Message
-
Sets a
long
property value with the specified name into the message. - setMessageListener(MessageListener) - Method in interface javax.jms.MessageConsumer
-
Sets the message consumer's
MessageListener
. - setMessageListener(MessageListener) - Method in interface javax.jms.Session
-
Sets the session's distinguished message listener (optional).
- setObject(Serializable) - Method in interface javax.jms.ObjectMessage
-
Sets the serializable object containing this message's data.
- setObject(String, Object) - Method in interface javax.jms.MapMessage
-
Sets an object value with the specified name into the Map.
- setObjectProperty(String, Object) - Method in interface javax.jms.Message
-
Sets a Java object property value with the specified name into the message.
- setPriority(int) - Method in interface javax.jms.MessageProducer
-
Sets the producer's default priority.
- setShort(String, short) - Method in interface javax.jms.MapMessage
-
Sets a
short
value with the specified name into the Map. - setShortProperty(String, short) - Method in interface javax.jms.Message
-
Sets a
short
property value with the specified name into the message. - setString(String, String) - Method in interface javax.jms.MapMessage
-
Sets a
String
value with the specified name into the Map. - setStringProperty(String, String) - Method in interface javax.jms.Message
-
Sets a
String
property value with the specified name into the message. - setText(String) - Method in interface javax.jms.TextMessage
-
Sets the string containing this message's data.
- setTimeToLive(long) - Method in interface javax.jms.MessageProducer
-
Sets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system.
- start() - Method in interface javax.jms.Connection
-
Starts (or restarts) a connection's delivery of incoming messages.
- start() - Method in interface javax.jms.ServerSession
-
Cause the
Session
'srun
method to be called to process messages that were just assigned to it. - stop() - Method in interface javax.jms.Connection
-
Temporarily stops a connection's delivery of incoming messages.
- StreamMessage - Interface in javax.jms
-
A
StreamMessage
object is used to send a stream of primitive types in the Java programming language.
T
- TemporaryQueue - Interface in javax.jms
-
A
TemporaryQueue
object is a uniqueQueue
object created for the duration of aConnection
. - TemporaryTopic - Interface in javax.jms
-
A
TemporaryTopic
object is a uniqueTopic
object created for the duration of aConnection
. - TextMessage - Interface in javax.jms
-
A
TextMessage
object is used to send a message containing ajava.lang.String
. - Topic - Interface in javax.jms
-
A
Topic
object encapsulates a provider-specific topic name. - TopicConnection - Interface in javax.jms
-
A
TopicConnection
object is an active connection to a publish/subscribe JMS provider. - TopicConnectionFactory - Interface in javax.jms
-
A client uses a
TopicConnectionFactory
object to createTopicConnection
objects with a publish/subscribe JMS provider. - TopicPublisher - Interface in javax.jms
-
A client uses a
TopicPublisher
object to publish messages on a topic. - TopicRequestor - Class in javax.jms
-
Provides a basic request/reply layer ontop of JMS.
- TopicRequestor(TopicSession, Topic) - Constructor for class javax.jms.TopicRequestor
- topicSession - Variable in class javax.jms.TopicRequestor
- TopicSession - Interface in javax.jms
-
A
TopicSession
object provides methods for creatingTopicPublisher
,TopicSubscriber
, andTemporaryTopic
objects. - TopicSubscriber - Interface in javax.jms
-
A client uses a
TopicSubscriber
object to receive messages that have been published to a topic. - toString() - Method in interface javax.jms.Queue
-
Returns a string representation of this object.
- toString() - Method in interface javax.jms.Topic
-
Returns a string representation of this object.
- TransactionInProgressException - Exception in javax.jms
-
This exception is thrown when an operation is invalid because a transaction is in progress.
- TransactionInProgressException(String) - Constructor for exception javax.jms.TransactionInProgressException
-
Constructs a
TransactionInProgressException
with the specified reason. - TransactionInProgressException(String, String) - Constructor for exception javax.jms.TransactionInProgressException
-
Constructs a
TransactionInProgressException
with the specified reason and error code. - TransactionRolledBackException - Exception in javax.jms
-
This exception must be thrown when a call to
Session.commit
results in a rollback of the current transaction. - TransactionRolledBackException(String) - Constructor for exception javax.jms.TransactionRolledBackException
-
Constructs a
TransactionRolledBackException
with the specified reason. - TransactionRolledBackException(String, String) - Constructor for exception javax.jms.TransactionRolledBackException
-
Constructs a
TransactionRolledBackException
with the specified reason and error code.
U
- unsubscribe(String) - Method in interface javax.jms.Session
-
Unsubscribes a durable subscription that has been created by a client.
- unsubscribe(String) - Method in interface javax.jms.TopicSession
-
Unsubscribes a durable subscription that has been created by a client.
W
- writeBoolean(boolean) - Method in interface javax.jms.BytesMessage
-
Writes a
boolean
to the bytes message stream as a 1-byte value. - writeBoolean(boolean) - Method in interface javax.jms.StreamMessage
-
Writes a
boolean
to the stream message. - writeByte(byte) - Method in interface javax.jms.BytesMessage
-
Writes a
byte
to the bytes message stream as a 1-byte value. - writeByte(byte) - Method in interface javax.jms.StreamMessage
-
Writes a
byte
to the stream message. - writeBytes(byte[]) - Method in interface javax.jms.BytesMessage
-
Writes a byte array to the bytes message stream.
- writeBytes(byte[]) - Method in interface javax.jms.StreamMessage
-
Writes a byte array field to the stream message.
- writeBytes(byte[], int, int) - Method in interface javax.jms.BytesMessage
-
Writes a portion of a byte array to the bytes message stream.
- writeBytes(byte[], int, int) - Method in interface javax.jms.StreamMessage
-
Writes a portion of a byte array as a byte array field to the stream message.
- writeChar(char) - Method in interface javax.jms.BytesMessage
-
Writes a
char
to the bytes message stream as a 2-byte value, high byte first. - writeChar(char) - Method in interface javax.jms.StreamMessage
-
Writes a
char
to the stream message. - writeDouble(double) - Method in interface javax.jms.BytesMessage
-
Converts the
double
argument to along
using thedoubleToLongBits
method in classDouble
, and then writes thatlong
value to the bytes message stream as an 8-byte quantity, high byte first. - writeDouble(double) - Method in interface javax.jms.StreamMessage
-
Writes a
double
to the stream message. - writeFloat(float) - Method in interface javax.jms.BytesMessage
-
Converts the
float
argument to anint
using thefloatToIntBits
method in classFloat
, and then writes thatint
value to the bytes message stream as a 4-byte quantity, high byte first. - writeFloat(float) - Method in interface javax.jms.StreamMessage
-
Writes a
float
to the stream message. - writeInt(int) - Method in interface javax.jms.BytesMessage
-
Writes an
int
to the bytes message stream as four bytes, high byte first. - writeInt(int) - Method in interface javax.jms.StreamMessage
-
Writes an
int
to the stream message. - writeLong(long) - Method in interface javax.jms.BytesMessage
-
Writes a
long
to the bytes message stream as eight bytes, high byte first. - writeLong(long) - Method in interface javax.jms.StreamMessage
-
Writes a
long
to the stream message. - writeObject(Object) - Method in interface javax.jms.BytesMessage
-
Writes an object to the bytes message stream.
- writeObject(Object) - Method in interface javax.jms.StreamMessage
-
Writes an object to the stream message.
- writeShort(short) - Method in interface javax.jms.BytesMessage
-
Writes a
short
to the bytes message stream as two bytes, high byte first. - writeShort(short) - Method in interface javax.jms.StreamMessage
-
Writes a
short
to the stream message. - writeString(String) - Method in interface javax.jms.StreamMessage
-
Writes a
String
to the stream message. - writeUTF(String) - Method in interface javax.jms.BytesMessage
-
Writes a string to the bytes message stream using UTF-8 encoding in a machine-independent manner.
X
- XAConnection - Interface in javax.jms
-
The
XAConnection
interface extends the capability ofConnection
by providing anXASession
(optional). - XAConnectionFactory - Interface in javax.jms
-
The
XAConnectionFactory
interface is a base interface for theXAQueueConnectionFactory
andXATopicConnectionFactory
interfaces. - XAQueueConnection - Interface in javax.jms
-
An
XAQueueConnection
provides the same create options asQueueConnection
(optional). - XAQueueConnectionFactory - Interface in javax.jms
-
An
XAQueueConnectionFactory
provides the same create options as aQueueConnectionFactory
(optional). - XAQueueSession - Interface in javax.jms
-
An
XAQueueSession
provides a regularQueueSession
, which can be used to createQueueReceiver
,QueueSender
, andQueueBrowser
objects (optional). - XASession - Interface in javax.jms
-
The
XASession
interface extends the capability ofSession
by adding access to a JMS provider's support for the Java Transaction API (JTA) (optional). - XATopicConnection - Interface in javax.jms
-
An
XATopicConnection
provides the same create options asTopicConnection
(optional). - XATopicConnectionFactory - Interface in javax.jms
-
An
XATopicConnectionFactory
provides the same create options as aTopicConnectionFactory
(optional). - XATopicSession - Interface in javax.jms
-
An
XATopicSession
provides a regularTopicSession
.
All Classes All Packages