- clearBody() - Method in interface javax.jms.Message
-
Clears out the message body.
- clearProperties() - Method in interface javax.jms.JMSProducer
-
Clears any message properties set on this JMSProducer
- clearProperties() - Method in interface javax.jms.Message
-
Clears a message's properties.
- CLIENT_ACKNOWLEDGE - Static variable in interface javax.jms.JMSContext
-
With this session mode, the client acknowledges a consumed message by
calling the message's acknowledge
method.
- 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.JMSConsumer
-
Closes the JMSConsumer
.
- close() - Method in interface javax.jms.JMSContext
-
Closes the JMSContext
- 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
-
Closes the QueueRequestor
and its session.
- close() - Method in interface javax.jms.Session
-
Closes the session.
- close() - Method in class javax.jms.TopicRequestor
-
Closes the TopicRequestor
and its session.
- commit() - Method in interface javax.jms.JMSContext
-
Commits all messages done in this transaction and releases any locks
currently held.
- 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.XAJMSContext
-
Throws a TransactionInProgressRuntimeException
, since it should
not be called for an XAJMSContext
object.
- commit() - Method in interface javax.jms.XASession
-
Throws a TransactionInProgressException
, since it should
not be called for an XASession
object.
- CompletionListener - Interface in javax.jms
-
A CompletionListener
is implemented by the application and may
be specified when a message is sent asynchronously.
- 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 a ConnectionConsumer
(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 the
Connection
object.
- createBrowser(Queue) - Method in interface javax.jms.JMSContext
-
Creates a QueueBrowser
object to peek at the messages on the
specified queue.
- createBrowser(Queue, String) - Method in interface javax.jms.JMSContext
-
Creates a QueueBrowser
object to peek at the messages on the
specified queue using a message selector.
- createBrowser(Queue) - Method in interface javax.jms.QueueSession
-
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) - 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.Session
-
Creates a QueueBrowser
object to peek at the messages on the
specified queue using a message selector.
- createBytesMessage() - Method in interface javax.jms.JMSContext
-
Creates a BytesMessage
object.
- 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)
on the specific destination.
- 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.JMSContext
-
Creates a JMSConsumer
for the specified destination.
- createConsumer(Destination, String) - Method in interface javax.jms.JMSContext
-
Creates a JMSConsumer
for the specified destination, using a
message selector.
- createConsumer(Destination, String, boolean) - Method in interface javax.jms.JMSContext
-
Creates a JMSConsumer
for the specified destination,
specifying a message selector and the noLocal
parameter.
- 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 a MessageConsumer
for the specified destination, specifying a
message selector and the noLocal
parameter.
- createContext() - Method in interface javax.jms.ConnectionFactory
-
Creates a JMSContext with the default user identity
and an unspecified sessionMode.
- createContext(String, String) - Method in interface javax.jms.ConnectionFactory
-
Creates a JMSContext with the specified user identity
and an unspecified sessionMode.
- createContext(String, String, int) - Method in interface javax.jms.ConnectionFactory
-
Creates a JMSContext with the specified user identity
and the specified session mode.
- createContext(int) - Method in interface javax.jms.ConnectionFactory
-
Creates a JMSContext with the default user identity
and the specified session mode.
- createContext(int) - Method in interface javax.jms.JMSContext
-
Creates a new JMSContext
with the specified session mode
using the same connection as this JMSContext
and creating a
new session.
- createDurableConnectionConsumer(Topic, String, String, ServerSessionPool, int) - Method in interface javax.jms.Connection
-
Creates a connection consumer for this connection (optional operation)
on the specific topic using an unshared durable subscription with
the specified name.
- createDurableConnectionConsumer(Topic, String, String, ServerSessionPool, int) - Method in interface javax.jms.TopicConnection
-
Create a durable connection consumer for this connection (optional operation).
- createDurableConsumer(Topic, String) - Method in interface javax.jms.JMSContext
-
Creates an unshared durable subscription on the specified topic (if one
does not already exist) and creates a consumer on that durable
subscription.
- createDurableConsumer(Topic, String, String, boolean) - Method in interface javax.jms.JMSContext
-
Creates an unshared durable subscription on the specified topic (if one
does not already exist), specifying a message selector and the
noLocal
parameter, and creates a consumer on that durable
subscription.
- createDurableConsumer(Topic, String) - Method in interface javax.jms.Session
-
Creates an unshared durable subscription on the specified topic (if one
does not already exist) and creates a consumer on that durable
subscription.
- createDurableConsumer(Topic, String, String, boolean) - Method in interface javax.jms.Session
-
Creates an unshared durable subscription on the specified topic (if one
does not already exist), specifying a message selector and the
noLocal
parameter, and creates a consumer on that durable
subscription.
- createDurableSubscriber(Topic, String) - Method in interface javax.jms.Session
-
Creates an unshared durable subscription on the specified topic (if one
does not already exist) and creates a consumer on that durable
subscription.
- createDurableSubscriber(Topic, String, String, boolean) - Method in interface javax.jms.Session
-
Creates an unshared durable subscription on the specified topic (if one
does not already exist), specifying a message selector and the
noLocal
parameter, and creates a consumer on that durable
subscription.
- createDurableSubscriber(Topic, String) - Method in interface javax.jms.TopicSession
-
Creates an unshared durable subscription on the specified topic (if one
does not already exist) and creates a consumer on that durable
subscription.
- createDurableSubscriber(Topic, String, String, boolean) - Method in interface javax.jms.TopicSession
-
Creates an unshared durable subscription on the specified topic (if one
does not already exist), specifying a message selector and the
noLocal
parameter, and creates a consumer on that durable
subscription.
- createMapMessage() - Method in interface javax.jms.JMSContext
-
Creates a MapMessage
object.
- createMapMessage() - Method in interface javax.jms.Session
-
Creates a MapMessage
object.
- createMessage() - Method in interface javax.jms.JMSContext
-
Creates a Message
object.
- createMessage() - Method in interface javax.jms.Session
-
Creates a Message
object.
- createObjectMessage() - Method in interface javax.jms.JMSContext
-
Creates an ObjectMessage
object.
- createObjectMessage(Serializable) - Method in interface javax.jms.JMSContext
-
Creates an initialized ObjectMessage
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() - Method in interface javax.jms.JMSContext
-
Creates a new JMSProducer
object which can be used to
configure and send messages
- 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.JMSContext
-
Creates a Queue
object which encapsulates a specified
provider-specific queue name.
- 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
object which encapsulates a specified
provider-specific 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,
specifying transacted
and acknowledgeMode
.
- createQueueSession(boolean, int) - Method in interface javax.jms.XAQueueConnection
-
Creates a QueueSession
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,
specifying transacted
and acknowledgeMode
.
- createSession(int) - Method in interface javax.jms.Connection
-
Creates a Session
object, specifying sessionMode
.
- createSession() - Method in interface javax.jms.Connection
-
Creates a Session
object,
specifying no arguments.
- createSession(boolean, int) - Method in interface javax.jms.XAConnection
-
Creates an Session
object.
- createSharedConnectionConsumer(Topic, String, String, ServerSessionPool, int) - Method in interface javax.jms.Connection
-
Creates a connection consumer for this connection (optional operation)
on the specific topic using a shared non-durable subscription with
the specified name.
- createSharedConsumer(Topic, String) - Method in interface javax.jms.JMSContext
-
Creates a shared non-durable subscription with the specified name on the
specified topic (if one does not already exist) and creates a consumer on
that subscription.
- createSharedConsumer(Topic, String, String) - Method in interface javax.jms.JMSContext
-
Creates a shared non-durable subscription with the specified name on the
specified topic (if one does not already exist) specifying a message selector,
and creates a consumer on that subscription.
- createSharedConsumer(Topic, String) - Method in interface javax.jms.Session
-
Creates a shared non-durable subscription with the specified name on the
specified topic (if one does not already exist) and creates a consumer on
that subscription.
- createSharedConsumer(Topic, String, String) - Method in interface javax.jms.Session
-
Creates a shared non-durable subscription with the specified name on the
specified topic (if one does not already exist) specifying a message selector,
and creates a consumer on that subscription.
- createSharedDurableConnectionConsumer(Topic, String, String, ServerSessionPool, int) - Method in interface javax.jms.Connection
-
Creates a connection consumer for this connection (optional operation)
on the specific topic using a shared durable subscription with
the specified name.
- createSharedDurableConsumer(Topic, String) - Method in interface javax.jms.JMSContext
-
Creates a shared durable subscription on the specified topic (if one
does not already exist), specifying a message selector,
and creates a consumer on that durable subscription.
- createSharedDurableConsumer(Topic, String, String) - Method in interface javax.jms.JMSContext
-
Creates a shared durable subscription on the specified topic (if one
does not already exist), specifying a message selector,
and creates a consumer on that durable subscription.
- createSharedDurableConsumer(Topic, String) - Method in interface javax.jms.Session
-
Creates a shared durable subscription on the specified topic (if one does
not already exist), specifying a message selector and the noLocal
parameter, and creates a consumer on that durable subscription.
- createSharedDurableConsumer(Topic, String, String) - Method in interface javax.jms.Session
-
Creates a shared durable subscription on the specified topic (if one
does not already exist), specifying a message selector,
and creates a consumer on that durable subscription.
- createStreamMessage() - Method in interface javax.jms.JMSContext
-
Creates a StreamMessage
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.JMSContext
-
Creates a TemporaryQueue
object.
- 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.JMSContext
-
Creates a TemporaryTopic
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.JMSContext
-
Creates a TextMessage
object.
- createTextMessage(String) - Method in interface javax.jms.JMSContext
-
Creates an initialized TextMessage
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.JMSContext
-
Creates a Topic
object which encapsulates a specified
provider-specific topic name.
- createTopic(String) - Method in interface javax.jms.Session
-
Creates a Topic
object which encapsulates a specified
provider-specific 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,
specifying transacted
and acknowledgeMode
.
- createTopicSession(boolean, int) - Method in interface javax.jms.XATopicConnection
-
Creates a TopicSession
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 XAConnection
with the specified user identity.
- createXAContext() - Method in interface javax.jms.XAConnectionFactory
-
Creates a XAJMSContext
with the default user identity
- createXAContext(String, String) - Method in interface javax.jms.XAConnectionFactory
-
Creates a JMSContext 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.
- getAcknowledgeMode() - Method in interface javax.jms.Session
-
Returns the acknowledgement mode of the session.
- getAsync() - Method in interface javax.jms.JMSProducer
-
If subsequent calls to send
on this
JMSProducer
object have been configured to be asynchronous
then this method returns the CompletionListener
that has previously been configured.
- getAutoStart() - Method in interface javax.jms.JMSContext
-
Returns whether the underlying connection used by this
JMSContext
will be started automatically when a consumer is
created.
- getBody(Class<T>) - Method in interface javax.jms.Message
-
Returns the message body as an object of the specified type.
- 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.JMSProducer
-
Returns the message property with the specified name that has been set on
this JMSProducer
, converted to a boolean
.
- 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.JMSProducer
-
Returns the message property with the specified name that has been set on
this JMSProducer
, converted to a String
.
- 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.
- getClientID() - Method in interface javax.jms.JMSContext
-
Gets the client identifier for the JMSContext's connection.
- getContext() - Method in interface javax.jms.XAJMSContext
-
Returns the JMSContext
object associated with this
XAJMSContext
.
- getDeliveryDelay() - Method in interface javax.jms.JMSProducer
-
Gets the minimum length of time in milliseconds that must elapse after a
message is sent before the JMS provider may deliver the message to a
consumer.
- getDeliveryDelay() - Method in interface javax.jms.MessageProducer
-
Gets the minimum length of time in milliseconds that must elapse after a
message is sent before the JMS provider may deliver the message to a
consumer.
- getDeliveryMode() - Method in interface javax.jms.JMSProducer
-
Returns the delivery mode of messages that are sent using this
JMSProducer
- 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.JMSProducer
-
Gets an indication of whether message IDs are disabled.
- getDisableMessageID() - Method in interface javax.jms.MessageProducer
-
Gets an indication of whether message IDs are disabled.
- getDisableMessageTimestamp() - Method in interface javax.jms.JMSProducer
-
Gets an indication of whether message timestamps 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.JMSProducer
-
Returns the message property with the specified name that has been set on
this JMSProducer
, converted to a double
.
- 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.
- getErrorCode() - Method in exception javax.jms.JMSRuntimeException
-
Returns the vendor-specific error code.
- getExceptionListener() - Method in interface javax.jms.Connection
-
Gets the ExceptionListener
object for this connection.
- getExceptionListener() - Method in interface javax.jms.JMSContext
-
Gets the ExceptionListener
object for the JMSContext's
connection.
- getFloat(String) - Method in interface javax.jms.MapMessage
-
Returns the float
value with the specified name.
- getFloatProperty(String) - Method in interface javax.jms.JMSProducer
-
Returns the message property with the specified name that has been set on
this JMSProducer
, converted to a float
.
- 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.JMSProducer
-
Returns the message property with the specified name that has been set on
this JMSProducer
, converted to a int
.
- 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.JMSProducer
-
Returns the JMSCorrelationID
header value that has been set
on this JMSProducer
, as a String
.
- getJMSCorrelationID() - Method in interface javax.jms.Message
-
Gets the correlation ID for the message.
- getJMSCorrelationIDAsBytes() - Method in interface javax.jms.JMSProducer
-
Returns the JMSCorrelationID
header value that has been set
on this JMSProducer
, as an array of bytes.
- 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.
- getJMSDeliveryTime() - Method in interface javax.jms.Message
-
Gets the message's delivery time value.
- 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 time.
- 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.JMSProducer
-
Returns the JMSReplyTo
header value that has been set on
this JMSProducer
.
- 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.JMSProducer
-
Returns the JMSType
header value that has been set on this
JMSProducer
.
- 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.JMSProducer
-
Returns the message property with the specified name that has been set on
this JMSProducer
, converted to a long
.
- 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 the
MapMessage
object.
- getMessageListener() - Method in interface javax.jms.JMSConsumer
-
Gets the JMSConsumer
's MessageListener
.
- getMessageListener() - Method in interface javax.jms.MessageConsumer
-
Gets the MessageConsumer
's MessageListener
.
- getMessageListener() - Method in interface javax.jms.Session
-
Returns the session's distinguished message listener (optional).
- getMessageSelector() - Method in interface javax.jms.JMSConsumer
-
Gets this JMSConsumer
's message selector expression.
- 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.
- getMetaData() - Method in interface javax.jms.JMSContext
-
Gets the connection metadata for the JMSContext's connection.
- getNoLocal() - Method in interface javax.jms.TopicSubscriber
-
Gets the NoLocal
attribute for this subscriber.
- getObject(String) - Method in interface javax.jms.MapMessage
-
Returns the value of the object with the specified name.
- getObject() - Method in interface javax.jms.ObjectMessage
-
Gets the serializable object containing this message's data.
- getObjectProperty(String) - Method in interface javax.jms.JMSProducer
-
Returns the message property with the specified name that has been set on
this JMSProducer
, converted to objectified format.
- 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.JMSProducer
-
Return the priority of messages that are sent using this
JMSProducer
- getPriority() - Method in interface javax.jms.MessageProducer
-
Gets the producer's default priority.
- getPropertyNames() - Method in interface javax.jms.JMSProducer
-
Returns an unmodifiable Set
view of the names of all the message
properties that have been set on this JMSProducer.
- 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
's Session
.
- getSession() - Method in interface javax.jms.XASession
-
Gets the session associated with this XASession
.
- getSessionMode() - Method in interface javax.jms.JMSContext
-
Returns the session mode of the JMSContext's session.
- getShort(String) - Method in interface javax.jms.MapMessage
-
Returns the short
value with the specified name.
- getShortProperty(String) - Method in interface javax.jms.JMSProducer
-
Returns the message property with the specified name that has been set on
this JMSProducer
, converted to a short
.
- 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.JMSProducer
-
Returns the message property with the specified name that has been set on
this JMSProducer
, converted to a String
.
- 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.JMSProducer
-
Returns the time to live of messages that are sent using this
JMSProducer
.
- 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.JMSContext
-
Indicates whether the JMSContext's session is in transacted mode.
- getTransacted() - Method in interface javax.jms.Session
-
Indicates whether the session is in transacted mode.
- getTransacted() - Method in interface javax.jms.XAJMSContext
-
Returns whether the session is in transacted mode; this method always
returns true.
- getTransacted() - Method in interface javax.jms.XASession
-
Indicates whether the session is in transacted mode.
- getXAResource() - Method in interface javax.jms.XAJMSContext
-
Returns an XAResource
to the caller.
- getXAResource() - Method in interface javax.jms.XASession
-
Returns an XA resource to the caller.
- 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, String) - Constructor for exception javax.jms.IllegalStateException
-
Constructs an IllegalStateException
with the specified reason
and error code.
- IllegalStateException(String) - Constructor for exception javax.jms.IllegalStateException
-
Constructs an IllegalStateException
with the specified
reason.
- IllegalStateRuntimeException - Exception in javax.jms
-
This unchecked exception is thrown when a method is invoked at an illegal or
inappropriate time or if the provider is not in an appropriate state for the
requested operation, and the method signature does not permit a
IllegalStateRuntimeException
to be thrown.
- IllegalStateRuntimeException(String) - Constructor for exception javax.jms.IllegalStateRuntimeException
-
Constructs a IllegalStateRuntimeException
with the specified detail message
- IllegalStateRuntimeException(String, String) - Constructor for exception javax.jms.IllegalStateRuntimeException
-
Constructs a IllegalStateRuntimeException
with the specified detail message
and error code.
- IllegalStateRuntimeException(String, String, Throwable) - Constructor for exception javax.jms.IllegalStateRuntimeException
-
Constructs a IllegalStateRuntimeException
with the specified detail message,
error code and cause
- 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, String) - Constructor for exception javax.jms.InvalidClientIDException
-
Constructs an InvalidClientIDException
with the specified
reason and error code.
- InvalidClientIDException(String) - Constructor for exception javax.jms.InvalidClientIDException
-
Constructs an InvalidClientIDException
with the specified
reason.
- InvalidClientIDRuntimeException - Exception in javax.jms
-
This unchecked exception must be thrown when a client attempts to set a
connection's client ID to a value that is rejected by a provider, and the
method signature does not permit a InvalidClientIDException
to
be thrown.
- InvalidClientIDRuntimeException(String) - Constructor for exception javax.jms.InvalidClientIDRuntimeException
-
Constructs a InvalidClientIDRuntimeException
with the specified detail message
- InvalidClientIDRuntimeException(String, String) - Constructor for exception javax.jms.InvalidClientIDRuntimeException
-
Constructs a InvalidClientIDRuntimeException
with the specified detail message
and error code.
- InvalidClientIDRuntimeException(String, String, Throwable) - Constructor for exception javax.jms.InvalidClientIDRuntimeException
-
Constructs a InvalidClientIDRuntimeException
with the specified detail message,
error code and cause
- 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, String) - Constructor for exception javax.jms.InvalidDestinationException
-
Constructs an InvalidDestinationException
with the specified
reason and error code.
- InvalidDestinationException(String) - Constructor for exception javax.jms.InvalidDestinationException
-
Constructs an InvalidDestinationException
with the specified
reason.
- InvalidDestinationRuntimeException - Exception in javax.jms
-
This unchecked exception must be thrown when a destination either is not
understood by a provider or is no longer valid, and the method signature does
not permit a InvalidDestinationException
to be thrown.
- InvalidDestinationRuntimeException(String) - Constructor for exception javax.jms.InvalidDestinationRuntimeException
-
Constructs a InvalidDestinationRuntimeException
with the specified detail message
- InvalidDestinationRuntimeException(String, String) - Constructor for exception javax.jms.InvalidDestinationRuntimeException
-
Constructs a InvalidDestinationRuntimeException
with the specified detail message
and error code.
- InvalidDestinationRuntimeException(String, String, Throwable) - Constructor for exception javax.jms.InvalidDestinationRuntimeException
-
Constructs a InvalidDestinationRuntimeException
with the specified detail message,
error code and cause
- 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, String) - Constructor for exception javax.jms.InvalidSelectorException
-
Constructs an InvalidSelectorException
with the specified
reason and error code.
- InvalidSelectorException(String) - Constructor for exception javax.jms.InvalidSelectorException
-
Constructs an InvalidSelectorException
with the specified
reason.
- InvalidSelectorRuntimeException - Exception in javax.jms
-
This unchecked exception must be thrown when a JMS client attempts to give a
provider a message selector with invalid syntax, and the method signature
does not permit a InvalidSelectorException
to be thrown.
- InvalidSelectorRuntimeException(String) - Constructor for exception javax.jms.InvalidSelectorRuntimeException
-
Constructs a InvalidSelectorRuntimeException
with the specified detail message
- InvalidSelectorRuntimeException(String, String) - Constructor for exception javax.jms.InvalidSelectorRuntimeException
-
Constructs a InvalidSelectorRuntimeException
with the specified detail message
and error code.
- InvalidSelectorRuntimeException(String, String, Throwable) - Constructor for exception javax.jms.InvalidSelectorRuntimeException
-
Constructs a InvalidSelectorRuntimeException
with the specified detail message,
error code and cause
- isBodyAssignableTo(Class) - Method in interface javax.jms.Message
-
Returns whether the message body is capable of being assigned to the
specified type.
- itemExists(String) - Method in interface javax.jms.MapMessage
-
Indicates whether an item exists in this MapMessage
object.
- javax.jms - package javax.jms
-
The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
- JMSConnectionFactory - Annotation Type in javax.jms
-
This annotation may be used to specify the JNDI lookup name of a javax.jms.ConnectionFactory
to be used when injecting a javax.jms.JMSContext
object.
- JMSConnectionFactoryDefinition - Annotation Type in javax.jms
-
An application may use this annotation to specify a JMS ConnectionFactory
resource that it requires in its operational
environment.
- JMSConnectionFactoryDefinitions - Annotation Type in javax.jms
-
Specifies one or more JMSConnectionFactoryDefinition
annotations.
- JMSConsumer - Interface in javax.jms
-
A client using the simplified JMS API introduced for JMS 2.0 uses a
JMSConsumer
object to receive messages from a queue or topic.
- JMSContext - Interface in javax.jms
-
A JMSContext
is the main interface in the simplified JMS API
introduced for JMS 2.0.
- JMSDestinationDefinition - Annotation Type in javax.jms
-
An application may use this annotation to specify a JMS Destination
resource that it requires in its operational
environment.
- JMSDestinationDefinitions - Annotation Type in javax.jms
-
Specifies one or more JMSDestinationDefinition
annotations.
- JMSException - Exception in javax.jms
-
This is the root class of all checked exceptions in the JMS API.
- JMSException(String, String) - Constructor for exception javax.jms.JMSException
-
Constructs a JMSException
with the specified reason and
error code.
- JMSException(String) - Constructor for exception javax.jms.JMSException
-
Constructs a JMSException
with the specified reason and with
the error code defaulting to null.
- JMSPasswordCredential - Annotation Type in javax.jms
-
This annotation may be used to specify the userName and password
to be used when injecting a javax.jms.JMSContext
object.
- JMSProducer - Interface in javax.jms
-
A JMSProducer
is a simple object used to send messages on behalf
of a JMSContext
.
- JMSRuntimeException - Exception in javax.jms
-
This is the root class of all unchecked exceptions in the JMS API.
- JMSRuntimeException(String, String) - Constructor for exception javax.jms.JMSRuntimeException
-
Constructs a JMSRuntimeException
with the specified detail message
and error code.
- JMSRuntimeException(String) - Constructor for exception javax.jms.JMSRuntimeException
-
Constructs a JMSRuntimeException
with the specified detail message
- JMSRuntimeException(String, String, Throwable) - Constructor for exception javax.jms.JMSRuntimeException
-
Constructs a JMSRuntimeException
with the specified detail message,
error code and cause
- JMSSecurityException - Exception in javax.jms
-
This exception must be thrown when a provider rejects a user
name/password submitted by a client.
- JMSSecurityException(String, String) - Constructor for exception javax.jms.JMSSecurityException
-
Constructs a JMSSecurityException
with the specified
reason and error code.
- JMSSecurityException(String) - Constructor for exception javax.jms.JMSSecurityException
-
Constructs a JMSSecurityException
with the specified
reason.
- JMSSecurityRuntimeException - Exception in javax.jms
-
This unchecked exception must be thrown when a provider rejects a user
name/password submitted by a client, or for any case where a security
restriction prevents a method from completing, and the method signature does
not permit a JMSSecurityException
to be thrown.
- JMSSecurityRuntimeException(String) - Constructor for exception javax.jms.JMSSecurityRuntimeException
-
Constructs a JMSSecurityRuntimeException
with the specified detail message
- JMSSecurityRuntimeException(String, String) - Constructor for exception javax.jms.JMSSecurityRuntimeException
-
Constructs a JMSSecurityRuntimeException
with the specified detail message
and error code.
- JMSSecurityRuntimeException(String, String, Throwable) - Constructor for exception javax.jms.JMSSecurityRuntimeException
-
Constructs a JMSSecurityRuntimeException
with the specified detail message,
error code and cause
- JMSSessionMode - Annotation Type in javax.jms
-
This annotation may be used to specify the session mode
to be used when injecting a javax.jms.JMSContext
object.
- 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[], int) - Method in interface javax.jms.BytesMessage
-
Reads a portion of 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).
- 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.JMSConsumer
-
Receives the next message produced for this JMSConsumer
.
- receive(long) - Method in interface javax.jms.JMSConsumer
-
Receives the next message that arrives within the specified
timeout interval.
- 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.
- receiveBody(Class<T>) - Method in interface javax.jms.JMSConsumer
-
Receives the next message produced for this JMSConsumer
and
returns its body as an object of the specified type.
- receiveBody(Class<T>, long) - Method in interface javax.jms.JMSConsumer
-
Receives the next message produced for this JMSConsumer
that arrives within the specified timeout period and
returns its body as an object of the specified type.
- receiveBodyNoWait(Class<T>) - Method in interface javax.jms.JMSConsumer
-
Receives the next message produced for this JMSConsumer
if one is immediately available and
returns its body as an object of the specified type.
- receiveNoWait() - Method in interface javax.jms.JMSConsumer
-
Receives the next message if one is immediately available.
- receiveNoWait() - Method in interface javax.jms.MessageConsumer
-
Receives the next message if one is immediately available.
- recover() - Method in interface javax.jms.JMSContext
-
Stops message delivery in the JMSContext's session, and restarts message
delivery with the oldest unacknowledged message.
- recover() - Method in interface javax.jms.Session
-
Stops message delivery in this session, and restarts message delivery
with the oldest unacknowledged message.
- request(Message) - Method in class javax.jms.QueueRequestor
-
Sends a request and waits for a reply.
- request(Message) - Method in class javax.jms.TopicRequestor
-
Sends a request and waits for a reply.
- 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, String) - Constructor for exception javax.jms.ResourceAllocationException
-
Constructs a ResourceAllocationException
with the specified
reason and error code.
- ResourceAllocationException(String) - Constructor for exception javax.jms.ResourceAllocationException
-
Constructs a ResourceAllocationException
with the specified
reason.
- ResourceAllocationRuntimeException - Exception in javax.jms
-
This unchecked exception is thrown when a provider is unable to allocate the
resources required by a method.
- ResourceAllocationRuntimeException(String, String) - Constructor for exception javax.jms.ResourceAllocationRuntimeException
-
Constructs a ResourceAllocationRuntimeException
with the specified
reason and error code.
- ResourceAllocationRuntimeException(String) - Constructor for exception javax.jms.ResourceAllocationRuntimeException
-
Constructs a ResourceAllocationRuntimeException
with the specified
reason.
- ResourceAllocationRuntimeException(String, String, Throwable) - Constructor for exception javax.jms.ResourceAllocationRuntimeException
-
Constructs a ResourceAllocationRuntimeException
with the specified detail message,
error code and cause
- rollback() - Method in interface javax.jms.JMSContext
-
Rolls back any messages done in this transaction and releases any locks
currently held.
- 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.XAJMSContext
-
Throws a TransactionInProgressRuntimeException
, since it should
not be called for an XAJMSContext
object.
- rollback() - Method in interface javax.jms.XASession
-
Throws a TransactionInProgressException
, since it should
not be called for an XASession
object.
- run() - Method in interface javax.jms.Session
-
Optional operation, intended to be used only by Application Servers,
not by ordinary JMS clients.
- send(Destination, Message) - Method in interface javax.jms.JMSProducer
-
Sends a message to the specified destination, using any send options,
message properties and message headers that have been defined on this
JMSProducer
.
- send(Destination, String) - Method in interface javax.jms.JMSProducer
-
Send a TextMessage
with the specified body to the
specified destination, using any send options, message properties and
message headers that have been defined on this JMSProducer
.
- send(Destination, Map<String, Object>) - Method in interface javax.jms.JMSProducer
-
Send a MapMessage
with the specified body to the
specified destination, using any send options, message properties and
message headers that have been defined on this JMSProducer
.
- send(Destination, byte[]) - Method in interface javax.jms.JMSProducer
-
Send a BytesMessage
with the specified body to the
specified destination, using any send options, message properties and
message headers that have been defined on this JMSProducer
.
- send(Destination, Serializable) - Method in interface javax.jms.JMSProducer
-
Send an ObjectMessage
with the specified body to the
specified destination, using any send options, message properties and
message headers that have been defined on this JMSProducer
.
- 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, int, int, long) - Method in interface javax.jms.MessageProducer
-
Sends a message, specifying delivery mode, priority, and time to live.
- send(Destination, Message) - Method in interface javax.jms.MessageProducer
-
Sends a message to a destination for an unidentified message producer
using the MessageProducer
's default delivery mode, priority,
and time to live.
- 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, CompletionListener) - Method in interface javax.jms.MessageProducer
-
Sends a message using the MessageProducer
's default delivery
mode, priority, and time to live, performing part of the work involved in
sending the message in a separate thread and notifying the specified
CompletionListener when the operation has completed.
- send(Message, int, int, long, CompletionListener) - Method in interface javax.jms.MessageProducer
-
Sends a message, specifying delivery mode, priority and time to live,
performing part of the work involved in sending the message in a separate
thread and notifying the specified CompletionListener when the
operation has completed.
- send(Destination, Message, CompletionListener) - Method in interface javax.jms.MessageProducer
-
Sends a message to a destination for an unidentified message producer,
using the MessageProducer
's default delivery mode, priority,
and time to live, performing part of the work involved in sending the
message in a separate thread and notifying the specified
CompletionListener when the operation has completed.
- send(Destination, Message, int, int, long, CompletionListener) - 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, performing part of
the work involved in sending the message in a separate thread and
notifying the specified CompletionListener when the operation
has completed.
- send(Message) - Method in interface javax.jms.QueueSender
-
Sends a message to the queue.
- 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.
- 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 of ServerSession
objects
for processing the messages of a ConnectionConsumer
(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.JMSContext
-
This session mode instructs the JMSContext's session to deliver and
consume messages in a local transaction which will be subsequently
committed by calling commit
or rolled back by calling
rollback
.
- SESSION_TRANSACTED - Static variable in interface javax.jms.Session
-
This value may be passed as the argument to the
method createSession(int sessionMode)
on the Connection
object
to specify that the session should use a local transaction.
- setAsync(CompletionListener) - Method in interface javax.jms.JMSProducer
-
Specifies whether subsequent calls to send
on this
JMSProducer
object should be synchronous or asynchronous.
- setAutoStart(boolean) - Method in interface javax.jms.JMSContext
-
Specifies whether the underlying connection used by this
JMSContext
will be started automatically when a consumer is
created.
- 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.
- setClientID(String) - Method in interface javax.jms.JMSContext
-
Sets the client identifier for the JMSContext's connection.
- setDeliveryDelay(long) - Method in interface javax.jms.JMSProducer
-
Sets the minimum length of time in milliseconds that must elapse after a
message is sent before the JMS provider may deliver the message to a
consumer.
- setDeliveryDelay(long) - Method in interface javax.jms.MessageProducer
-
Sets the minimum length of time in milliseconds that must elapse after a
message is sent before the JMS provider may deliver the message to a
consumer.
- setDeliveryMode(int) - Method in interface javax.jms.JMSProducer
-
Specifies the delivery mode of messages that are sent using this
JMSProducer
- setDeliveryMode(int) - Method in interface javax.jms.MessageProducer
-
Sets the producer's default delivery mode.
- setDisableMessageID(boolean) - Method in interface javax.jms.JMSProducer
-
Specifies whether message IDs may be disabled for messages that are sent
using this JMSProducer
- setDisableMessageID(boolean) - Method in interface javax.jms.MessageProducer
-
Specify whether message IDs may be disabled.
- setDisableMessageTimestamp(boolean) - Method in interface javax.jms.JMSProducer
-
Specifies whether message timestamps may be disabled for messages that
are sent using this JMSProducer
.
- setDisableMessageTimestamp(boolean) - Method in interface javax.jms.MessageProducer
-
Specify whether message timestamps may be 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.
- setExceptionListener(ExceptionListener) - Method in interface javax.jms.JMSContext
-
Sets an exception listener for the JMSContext's 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.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have their JMSCorrelationID
header value set to the
specified correlation ID, where correlation ID is specified as a
String
.
- setJMSCorrelationID(String) - Method in interface javax.jms.Message
-
Sets the correlation ID for the message.
- setJMSCorrelationIDAsBytes(byte[]) - Method in interface javax.jms.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have their JMSCorrelationID
header value set to the
specified correlation ID, where correlation ID is specified as an array
of bytes.
- 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.
- setJMSDeliveryTime(long) - Method in interface javax.jms.Message
-
Sets the message's delivery time value.
- 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.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have their JMSReplyTo
header value set to the specified
Destination
object.
- 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.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have their JMSType
header value set to the specified message
type.
- 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.JMSConsumer
-
Sets the JMSConsumer
's MessageListener
.
- setMessageListener(MessageListener) - Method in interface javax.jms.MessageConsumer
-
Sets the MessageConsumer
's MessageListener
.
- setMessageListener(MessageListener) - Method in interface javax.jms.Session
-
Sets the session's distinguished message listener (optional).
- setObject(String, Object) - Method in interface javax.jms.MapMessage
-
Sets an object value with the specified name into the Map.
- setObject(Serializable) - Method in interface javax.jms.ObjectMessage
-
Sets the serializable object containing this message's data.
- 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.JMSProducer
-
Specifies the priority of messages that are sent using this
JMSProducer
- setPriority(int) - Method in interface javax.jms.MessageProducer
-
Sets the producer's default priority.
- setProperty(String, boolean) - Method in interface javax.jms.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have the specified property set to the specified boolean
value.
- setProperty(String, byte) - Method in interface javax.jms.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have the specified property set to the specified byte
value.
- setProperty(String, short) - Method in interface javax.jms.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have the specified property set to the specified short
value.
- setProperty(String, int) - Method in interface javax.jms.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have the specified property set to the specified int
value.
- setProperty(String, long) - Method in interface javax.jms.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have the specified property set to the specified long
value.
- setProperty(String, float) - Method in interface javax.jms.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have the specified property set to the specified float
value.
- setProperty(String, double) - Method in interface javax.jms.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have the specified property set to the specified double
value.
- setProperty(String, String) - Method in interface javax.jms.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have the specified property set to the specified String
value.
- setProperty(String, Object) - Method in interface javax.jms.JMSProducer
-
Specifies that messages sent using this JMSProducer
will
have the specified property set to the specified Java object value.
- 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.JMSProducer
-
Specifies the time to live of messages that are sent using this
JMSProducer
.
- 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.JMSContext
-
Starts (or restarts) delivery of incoming messages by the JMSContext's
connection.
- start() - Method in interface javax.jms.ServerSession
-
Cause the Session
's run
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.
- stop() - Method in interface javax.jms.JMSContext
-
Temporarily stops the delivery of incoming messages by the JMSContext's
connection.
- StreamMessage - Interface in javax.jms
-
A StreamMessage
object is used to send a stream of primitive
types in the Java programming language.