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
receiveor when the message listener the session has called to process the message successfully returns.
B
- BytesMessage - Interface in javax.jms
-
A
BytesMessageobject 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
acknowledgemethod. - 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 anXASessionobject. - Connection - Interface in javax.jms
-
A
Connectionobject is a client's active connection to its JMS provider. - ConnectionConsumer - Interface in javax.jms
-
For application servers,
Connectionobjects provide a special facility for creating aConnectionConsumer(optional). - ConnectionFactory - Interface in javax.jms
-
A
ConnectionFactoryobject encapsulates a set of connection configuration parameters that has been defined by an administrator. - ConnectionMetaData - Interface in javax.jms
-
A
ConnectionMetaDataobject provides information describing theConnectionobject. - createBrowser(Queue) - Method in interface javax.jms.QueueSession
-
Creates a
QueueBrowserobject to peek at the messages on the specified queue. - createBrowser(Queue) - Method in interface javax.jms.Session
-
Creates a
QueueBrowserobject to peek at the messages on the specified queue. - createBrowser(Queue, String) - Method in interface javax.jms.QueueSession
-
Creates a
QueueBrowserobject to peek at the messages on the specified queue using a message selector. - createBrowser(Queue, String) - Method in interface javax.jms.Session
-
Creates a
QueueBrowserobject to peek at the messages on the specified queue using a message selector. - createBytesMessage() - Method in interface javax.jms.Session
-
Creates a
BytesMessageobject. - 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
MessageConsumerfor the specified destination. - createConsumer(Destination, String) - Method in interface javax.jms.Session
-
Creates a
MessageConsumerfor the specified destination, using a message selector. - createConsumer(Destination, String, boolean) - Method in interface javax.jms.Session
-
Creates
MessageConsumerfor 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
MapMessageobject. - createMessage() - Method in interface javax.jms.Session
-
Creates a
Messageobject. - createObjectMessage() - Method in interface javax.jms.Session
-
Creates an
ObjectMessageobject. - createObjectMessage(Serializable) - Method in interface javax.jms.Session
-
Creates an initialized
ObjectMessageobject. - createProducer(Destination) - Method in interface javax.jms.Session
-
Creates a
MessageProducerto 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
Queuename. - createQueue(String) - Method in interface javax.jms.Session
-
Creates a queue identity given a
Queuename. - 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
QueueSessionobject. - createQueueSession(boolean, int) - Method in interface javax.jms.XAQueueConnection
-
Creates an
XAQueueSessionobject. - createReceiver(Queue) - Method in interface javax.jms.QueueSession
-
Creates a
QueueReceiverobject to receive messages from the specified queue. - createReceiver(Queue, String) - Method in interface javax.jms.QueueSession
-
Creates a
QueueReceiverobject to receive messages from the specified queue using a message selector. - createSender(Queue) - Method in interface javax.jms.QueueSession
-
Creates a
QueueSenderobject to send messages to the specified queue. - createSession(boolean, int) - Method in interface javax.jms.Connection
-
Creates a
Sessionobject. - createSession(boolean, int) - Method in interface javax.jms.XAConnection
-
Creates an
Sessionobject. - createStreamMessage() - Method in interface javax.jms.Session
-
Creates a
StreamMessageobject. - 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
TemporaryQueueobject. - createTemporaryQueue() - Method in interface javax.jms.Session
-
Creates a
TemporaryQueueobject. - createTemporaryTopic() - Method in interface javax.jms.Session
-
Creates a
TemporaryTopicobject. - createTemporaryTopic() - Method in interface javax.jms.TopicSession
-
Creates a
TemporaryTopicobject. - createTextMessage() - Method in interface javax.jms.Session
-
Creates a
TextMessageobject. - createTextMessage(String) - Method in interface javax.jms.Session
-
Creates an initialized
TextMessageobject. - createTopic(String) - Method in interface javax.jms.Session
-
Creates a topic identity given a
Topicname. - createTopic(String) - Method in interface javax.jms.TopicSession
-
Creates a topic identity given a
Topicname. - 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
TopicSessionobject. - createTopicSession(boolean, int) - Method in interface javax.jms.XATopicConnection
-
Creates an
XATopicSessionobject. - createXAConnection() - Method in interface javax.jms.XAConnectionFactory
-
Creates an
XAConnectionwith 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
XAQueueSessionobject. - createXASession() - Method in interface javax.jms.XAConnection
-
Creates an
XASessionobject. - 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
XATopicSessionobject.
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
PERSISTENTandNON_PERSISTENT. - Destination - Interface in javax.jms
-
A
Destinationobject 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
Connectionobject, it informs theConnectionobject'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
booleanvalue with the specified name. - getBooleanProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
booleanproperty with the specified name. - getByte(String) - Method in interface javax.jms.MapMessage
-
Returns the
bytevalue with the specified name. - getByteProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
byteproperty 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
doublevalue with the specified name. - getDoubleProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
doubleproperty 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
ExceptionListenerobject for this connection. - getFloat(String) - Method in interface javax.jms.MapMessage
-
Returns the
floatvalue with the specified name. - getFloatProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
floatproperty with the specified name. - getInt(String) - Method in interface javax.jms.MapMessage
-
Returns the
intvalue with the specified name. - getIntProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
intproperty 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
DeliveryModevalue specified for this message. - getJMSDestination() - Method in interface javax.jms.Message
-
Gets the
Destinationobject 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
Destinationobject 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
longvalue with the specified name. - getLongProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
longproperty with the specified name. - getMapNames() - Method in interface javax.jms.MapMessage
-
Returns an
Enumerationof all the names in theMapMessageobject. - 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
NoLocalattribute 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
Enumerationof 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
Queueassociated 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
shortvalue with the specified name. - getShortProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
shortproperty with the specified name. - getString(String) - Method in interface javax.jms.MapMessage
-
Returns the
Stringvalue with the specified name. - getStringProperty(String) - Method in interface javax.jms.Message
-
Returns the value of the
Stringproperty 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
Topicassociated 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
IllegalStateExceptionwith the specified reason. - IllegalStateException(String, String) - Constructor for exception javax.jms.IllegalStateException
-
Constructs an
IllegalStateExceptionwith 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
InvalidClientIDExceptionwith the specified reason. - InvalidClientIDException(String, String) - Constructor for exception javax.jms.InvalidClientIDException
-
Constructs an
InvalidClientIDExceptionwith 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
InvalidDestinationExceptionwith the specified reason. - InvalidDestinationException(String, String) - Constructor for exception javax.jms.InvalidDestinationException
-
Constructs an
InvalidDestinationExceptionwith 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
InvalidSelectorExceptionwith the specified reason. - InvalidSelectorException(String, String) - Constructor for exception javax.jms.InvalidSelectorException
-
Constructs an
InvalidSelectorExceptionwith the specified reason and error code. - itemExists(String) - Method in interface javax.jms.MapMessage
-
Indicates whether an item exists in this
MapMessageobject.
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
JMSExceptionwith the specified reason and with the error code defaulting to null. - JMSException(String, String) - Constructor for exception javax.jms.JMSException
-
Constructs a
JMSExceptionwith 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
JMSSecurityExceptionwith the specified reason. - JMSSecurityException(String, String) - Constructor for exception javax.jms.JMSSecurityException
-
Constructs a
JMSSecurityExceptionwith the specified reason and error code.
L
- linkedException - Variable in exception javax.jms.JMSException
-
Exceptionreference.
M
- MapMessage - Interface in javax.jms
-
A
MapMessageobject is used to send a set of name-value pairs. - Message - Interface in javax.jms
-
The
Messageinterface is the root interface of all JMS messages. - MessageConsumer - Interface in javax.jms
-
A client uses a
MessageConsumerobject 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
StreamMessageorBytesMessageis being read. - MessageEOFException(String) - Constructor for exception javax.jms.MessageEOFException
-
Constructs a
MessageEOFExceptionwith the specified reason. - MessageEOFException(String, String) - Constructor for exception javax.jms.MessageEOFException
-
Constructs a
MessageEOFExceptionwith 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
MessageFormatExceptionwith the specified reason. - MessageFormatException(String, String) - Constructor for exception javax.jms.MessageFormatException
-
Constructs a
MessageFormatExceptionwith the specified reason and error code. - MessageListener - Interface in javax.jms
-
A
MessageListenerobject 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
MessageNotReadableExceptionwith the specified reason. - MessageNotReadableException(String, String) - Constructor for exception javax.jms.MessageNotReadableException
-
Constructs a
MessageNotReadableExceptionwith 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
MessageNotWriteableExceptionwith the specified reason. - MessageNotWriteableException(String, String) - Constructor for exception javax.jms.MessageNotWriteableException
-
Constructs a
MessageNotWriteableExceptionwith the specified reason and error code. - MessageProducer - Interface in javax.jms
-
A client uses a
MessageProducerobject 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
ObjectMessageobject 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
Queueobject encapsulates a provider-specific queue name. - QueueBrowser - Interface in javax.jms
-
A client uses a
QueueBrowserobject to look at messages on a queue without removing them. - QueueConnection - Interface in javax.jms
-
A
QueueConnectionobject is an active connection to a point-to-point JMS provider. - QueueConnectionFactory - Interface in javax.jms
-
A client uses a
QueueConnectionFactoryobject to createQueueConnectionobjects with a point-to-point JMS provider. - QueueReceiver - Interface in javax.jms
-
A client uses a
QueueReceiverobject 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
QueueSenderobject to send messages to a queue. - queueSession - Variable in class javax.jms.QueueRequestor
- QueueSession - Interface in javax.jms
-
A
QueueSessionobject provides methods for creatingQueueReceiver,QueueSender,QueueBrowser, andTemporaryQueueobjects.
R
- readBoolean() - Method in interface javax.jms.BytesMessage
-
Reads a
booleanfrom the bytes message stream. - readBoolean() - Method in interface javax.jms.StreamMessage
-
Reads a
booleanfrom 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
bytevalue 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
doublefrom the bytes message stream. - readDouble() - Method in interface javax.jms.StreamMessage
-
Reads a
doublefrom the stream message. - readFloat() - Method in interface javax.jms.BytesMessage
-
Reads a
floatfrom the bytes message stream. - readFloat() - Method in interface javax.jms.StreamMessage
-
Reads a
floatfrom 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
Stringfrom 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
ResourceAllocationExceptionwith the specified reason. - ResourceAllocationException(String, String) - Constructor for exception javax.jms.ResourceAllocationException
-
Constructs a
ResourceAllocationExceptionwith 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 anXASessionobject. - 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
ServerSessionobject 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
ServerSessionPoolobject is an object implemented by an application server to provide a pool ofServerSessionobjects for processing the messages of aConnectionConsumer(optional). - Session - Interface in javax.jms
-
A
Sessionobject 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
getAcknowledgeModeif the session is transacted. - setBoolean(String, boolean) - Method in interface javax.jms.MapMessage
-
Sets a
booleanvalue with the specified name into the Map. - setBooleanProperty(String, boolean) - Method in interface javax.jms.Message
-
Sets a
booleanproperty value with the specified name into the message. - setByte(String, byte) - Method in interface javax.jms.MapMessage
-
Sets a
bytevalue with the specified name into the Map. - setByteProperty(String, byte) - Method in interface javax.jms.Message
-
Sets a
byteproperty 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
doublevalue with the specified name into the Map. - setDoubleProperty(String, double) - Method in interface javax.jms.Message
-
Sets a
doubleproperty 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
floatvalue with the specified name into the Map. - setFloatProperty(String, float) - Method in interface javax.jms.Message
-
Sets a
floatproperty value with the specified name into the message. - setInt(String, int) - Method in interface javax.jms.MapMessage
-
Sets an
intvalue with the specified name into the Map. - setIntProperty(String, int) - Method in interface javax.jms.Message
-
Sets an
intproperty 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
DeliveryModevalue for this message. - setJMSDestination(Destination) - Method in interface javax.jms.Message
-
Sets the
Destinationobject 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
Destinationobject 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
longvalue with the specified name into the Map. - setLongProperty(String, long) - Method in interface javax.jms.Message
-
Sets a
longproperty 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
shortvalue with the specified name into the Map. - setShortProperty(String, short) - Method in interface javax.jms.Message
-
Sets a
shortproperty value with the specified name into the message. - setString(String, String) - Method in interface javax.jms.MapMessage
-
Sets a
Stringvalue with the specified name into the Map. - setStringProperty(String, String) - Method in interface javax.jms.Message
-
Sets a
Stringproperty 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'srunmethod 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
StreamMessageobject is used to send a stream of primitive types in the Java programming language.
T
- TemporaryQueue - Interface in javax.jms
-
A
TemporaryQueueobject is a uniqueQueueobject created for the duration of aConnection. - TemporaryTopic - Interface in javax.jms
-
A
TemporaryTopicobject is a uniqueTopicobject created for the duration of aConnection. - TextMessage - Interface in javax.jms
-
A
TextMessageobject is used to send a message containing ajava.lang.String. - Topic - Interface in javax.jms
-
A
Topicobject encapsulates a provider-specific topic name. - TopicConnection - Interface in javax.jms
-
A
TopicConnectionobject is an active connection to a publish/subscribe JMS provider. - TopicConnectionFactory - Interface in javax.jms
-
A client uses a
TopicConnectionFactoryobject to createTopicConnectionobjects with a publish/subscribe JMS provider. - TopicPublisher - Interface in javax.jms
-
A client uses a
TopicPublisherobject 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
TopicSessionobject provides methods for creatingTopicPublisher,TopicSubscriber, andTemporaryTopicobjects. - TopicSubscriber - Interface in javax.jms
-
A client uses a
TopicSubscriberobject 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
TransactionInProgressExceptionwith the specified reason. - TransactionInProgressException(String, String) - Constructor for exception javax.jms.TransactionInProgressException
-
Constructs a
TransactionInProgressExceptionwith the specified reason and error code. - TransactionRolledBackException - Exception in javax.jms
-
This exception must be thrown when a call to
Session.commitresults in a rollback of the current transaction. - TransactionRolledBackException(String) - Constructor for exception javax.jms.TransactionRolledBackException
-
Constructs a
TransactionRolledBackExceptionwith the specified reason. - TransactionRolledBackException(String, String) - Constructor for exception javax.jms.TransactionRolledBackException
-
Constructs a
TransactionRolledBackExceptionwith 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
booleanto the bytes message stream as a 1-byte value. - writeBoolean(boolean) - Method in interface javax.jms.StreamMessage
-
Writes a
booleanto the stream message. - writeByte(byte) - Method in interface javax.jms.BytesMessage
-
Writes a
byteto the bytes message stream as a 1-byte value. - writeByte(byte) - Method in interface javax.jms.StreamMessage
-
Writes a
byteto 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
charto the bytes message stream as a 2-byte value, high byte first. - writeChar(char) - Method in interface javax.jms.StreamMessage
-
Writes a
charto the stream message. - writeDouble(double) - Method in interface javax.jms.BytesMessage
-
Converts the
doubleargument to alongusing thedoubleToLongBitsmethod in classDouble, and then writes thatlongvalue to the bytes message stream as an 8-byte quantity, high byte first. - writeDouble(double) - Method in interface javax.jms.StreamMessage
-
Writes a
doubleto the stream message. - writeFloat(float) - Method in interface javax.jms.BytesMessage
-
Converts the
floatargument to anintusing thefloatToIntBitsmethod in classFloat, and then writes thatintvalue to the bytes message stream as a 4-byte quantity, high byte first. - writeFloat(float) - Method in interface javax.jms.StreamMessage
-
Writes a
floatto the stream message. - writeInt(int) - Method in interface javax.jms.BytesMessage
-
Writes an
intto the bytes message stream as four bytes, high byte first. - writeInt(int) - Method in interface javax.jms.StreamMessage
-
Writes an
intto the stream message. - writeLong(long) - Method in interface javax.jms.BytesMessage
-
Writes a
longto the bytes message stream as eight bytes, high byte first. - writeLong(long) - Method in interface javax.jms.StreamMessage
-
Writes a
longto 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
shortto the bytes message stream as two bytes, high byte first. - writeShort(short) - Method in interface javax.jms.StreamMessage
-
Writes a
shortto the stream message. - writeString(String) - Method in interface javax.jms.StreamMessage
-
Writes a
Stringto 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
XAConnectioninterface extends the capability ofConnectionby providing anXASession(optional). - XAConnectionFactory - Interface in javax.jms
-
The
XAConnectionFactoryinterface is a base interface for theXAQueueConnectionFactoryandXATopicConnectionFactoryinterfaces. - XAQueueConnection - Interface in javax.jms
-
An
XAQueueConnectionprovides the same create options asQueueConnection(optional). - XAQueueConnectionFactory - Interface in javax.jms
-
An
XAQueueConnectionFactoryprovides the same create options as aQueueConnectionFactory(optional). - XAQueueSession - Interface in javax.jms
-
An
XAQueueSessionprovides a regularQueueSession, which can be used to createQueueReceiver,QueueSender, andQueueBrowserobjects (optional). - XASession - Interface in javax.jms
-
The
XASessioninterface extends the capability ofSessionby adding access to a JMS provider's support for the Java Transaction API (JTA) (optional). - XATopicConnection - Interface in javax.jms
-
An
XATopicConnectionprovides the same create options asTopicConnection(optional). - XATopicConnectionFactory - Interface in javax.jms
-
An
XATopicConnectionFactoryprovides the same create options as aTopicConnectionFactory(optional). - XATopicSession - Interface in javax.jms
-
An
XATopicSessionprovides a regularTopicSession.
All Classes All Packages