A B C D E G I J M N O P Q R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acknowledge() - Method in interface jakarta.jms.JMSContext
-
Acknowledges all messages consumed by the JMSContext's session.
- acknowledge() - Method in interface jakarta.jms.Message
-
Acknowledges all consumed messages of the session of this consumed message.
- AUTO_ACKNOWLEDGE - Static variable in interface jakarta.jms.JMSContext
-
With this session mode, the JMSContext's session automatically acknowledges a client's receipt of a message either when the session has successfully returned from a call to
receive
or when the message listener the session has called to process the message successfully returns. - AUTO_ACKNOWLEDGE - Static variable in interface jakarta.jms.Session
-
With this acknowledgment mode, the session automatically acknowledges a client's receipt of a message either when the session has successfully returned from a call to
receive
or when the message listener the session has called to process the message successfully returns.
B
- BytesMessage - Interface in jakarta.jms
-
A
BytesMessage
object is used to send a message containing a stream of uninterpreted bytes.
C
- className() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
Fully-qualified name of the Jakarta Messaging connection factory implementation class.
- className() - Method in annotation type jakarta.jms.JMSDestinationDefinition
-
Fully-qualified name of the Jakarta Messaging destination implementation class.
- clearBody() - Method in interface jakarta.jms.Message
-
Clears out the message body.
- clearProperties() - Method in interface jakarta.jms.JMSProducer
-
Clears any message properties set on this
JMSProducer
- clearProperties() - Method in interface jakarta.jms.Message
-
Clears a message's properties.
- CLIENT_ACKNOWLEDGE - Static variable in interface jakarta.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 jakarta.jms.Session
-
With this acknowledgment mode, the client acknowledges a consumed message by calling the message's
acknowledge
method. - clientId() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
Client id to use for connection.
- close() - Method in interface jakarta.jms.Connection
-
Closes the connection.
- close() - Method in interface jakarta.jms.ConnectionConsumer
-
Closes the connection consumer.
- close() - Method in interface jakarta.jms.JMSConsumer
-
Closes the
JMSConsumer
. - close() - Method in interface jakarta.jms.JMSContext
-
Closes the JMSContext
- close() - Method in interface jakarta.jms.MessageConsumer
-
Closes the message consumer.
- close() - Method in interface jakarta.jms.MessageProducer
-
Closes the message producer.
- close() - Method in interface jakarta.jms.QueueBrowser
-
Closes the
QueueBrowser
. - close() - Method in class jakarta.jms.QueueRequestor
-
Closes the
QueueRequestor
and its session. - close() - Method in interface jakarta.jms.Session
-
Closes the session.
- close() - Method in class jakarta.jms.TopicRequestor
-
Closes the
TopicRequestor
and its session. - commit() - Method in interface jakarta.jms.JMSContext
-
Commits all messages done in this transaction and releases any locks currently held.
- commit() - Method in interface jakarta.jms.Session
-
Commits all messages done in this transaction and releases any locks currently held.
- commit() - Method in interface jakarta.jms.XAJMSContext
-
Throws a
TransactionInProgressRuntimeException
, since it should not be called for anXAJMSContext
object. - commit() - Method in interface jakarta.jms.XASession
-
Throws a
TransactionInProgressException
, since it should not be called for anXASession
object. - CompletionListener - Interface in jakarta.jms
-
A
CompletionListener
is implemented by the application and may be specified when a message is sent asynchronously. - Connection - Interface in jakarta.jms
-
A
Connection
object is a client's active connection to its Jakarta Messaging provider. - ConnectionConsumer - Interface in jakarta.jms
-
For application servers,
Connection
objects provide a special facility for creating aConnectionConsumer
(optional). - ConnectionFactory - Interface in jakarta.jms
-
A
ConnectionFactory
object encapsulates a set of connection configuration parameters that has been defined by an administrator. - ConnectionMetaData - Interface in jakarta.jms
-
A
ConnectionMetaData
object provides information describing theConnection
object. - createBrowser(Queue) - Method in interface jakarta.jms.JMSContext
-
Creates a
QueueBrowser
object to peek at the messages on the specified queue. - createBrowser(Queue) - Method in interface jakarta.jms.QueueSession
-
Creates a
QueueBrowser
object to peek at the messages on the specified queue. - createBrowser(Queue) - Method in interface jakarta.jms.Session
-
Creates a
QueueBrowser
object to peek at the messages on the specified queue. - createBrowser(Queue, String) - Method in interface jakarta.jms.JMSContext
-
Creates a
QueueBrowser
object to peek at the messages on the specified queue using a message selector. - createBrowser(Queue, String) - Method in interface jakarta.jms.QueueSession
-
Creates a
QueueBrowser
object to peek at the messages on the specified queue using a message selector. - createBrowser(Queue, String) - Method in interface jakarta.jms.Session
-
Creates a
QueueBrowser
object to peek at the messages on the specified queue using a message selector. - createBytesMessage() - Method in interface jakarta.jms.JMSContext
-
Creates a
BytesMessage
object. - createBytesMessage() - Method in interface jakarta.jms.Session
-
Creates a
BytesMessage
object. - createConnection() - Method in interface jakarta.jms.ConnectionFactory
-
Creates a connection with the default user identity.
- createConnection(String, String) - Method in interface jakarta.jms.ConnectionFactory
-
Creates a connection with the specified user identity.
- createConnectionConsumer(Destination, String, ServerSessionPool, int) - Method in interface jakarta.jms.Connection
-
Creates a connection consumer for this connection (optional operation) on the specific destination.
- createConnectionConsumer(Queue, String, ServerSessionPool, int) - Method in interface jakarta.jms.QueueConnection
-
Creates a connection consumer for this connection (optional operation).
- createConnectionConsumer(Topic, String, ServerSessionPool, int) - Method in interface jakarta.jms.TopicConnection
-
Creates a connection consumer for this connection (optional operation).
- createConsumer(Destination) - Method in interface jakarta.jms.JMSContext
-
Creates a
JMSConsumer
for the specified destination. - createConsumer(Destination) - Method in interface jakarta.jms.Session
-
Creates a
MessageConsumer
for the specified destination. - createConsumer(Destination, String) - Method in interface jakarta.jms.JMSContext
-
Creates a
JMSConsumer
for the specified destination, using a message selector. - createConsumer(Destination, String) - Method in interface jakarta.jms.Session
-
Creates a
MessageConsumer
for the specified destination, using a message selector. - createConsumer(Destination, String, boolean) - Method in interface jakarta.jms.JMSContext
-
Creates a
JMSConsumer
for the specified destination, specifying a message selector and thenoLocal
parameter. - createConsumer(Destination, String, boolean) - Method in interface jakarta.jms.Session
-
Creates a
MessageConsumer
for the specified destination, specifying a message selector and thenoLocal
parameter. - createContext() - Method in interface jakarta.jms.ConnectionFactory
-
Creates a JMSContext with the default user identity and an unspecified sessionMode.
- createContext(int) - Method in interface jakarta.jms.ConnectionFactory
-
Creates a JMSContext with the default user identity and the specified session mode.
- createContext(int) - Method in interface jakarta.jms.JMSContext
-
Creates a new
JMSContext
with the specified session mode using the same connection as thisJMSContext
and creating a new session. - createContext(String, String) - Method in interface jakarta.jms.ConnectionFactory
-
Creates a JMSContext with the specified user identity and an unspecified sessionMode.
- createContext(String, String, int) - Method in interface jakarta.jms.ConnectionFactory
-
Creates a JMSContext with the specified user identity and the specified session mode.
- createDurableConnectionConsumer(Topic, String, String, ServerSessionPool, int) - Method in interface jakarta.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 jakarta.jms.TopicConnection
-
Create a durable connection consumer for this connection (optional operation).
- createDurableConsumer(Topic, String) - Method in interface jakarta.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) - Method in interface jakarta.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 jakarta.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, String, boolean) - Method in interface jakarta.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 jakarta.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) - Method in interface jakarta.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 jakarta.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, String, boolean) - Method in interface jakarta.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 jakarta.jms.JMSContext
-
Creates a
MapMessage
object. - createMapMessage() - Method in interface jakarta.jms.Session
-
Creates a
MapMessage
object. - createMessage() - Method in interface jakarta.jms.JMSContext
-
Creates a
Message
object. - createMessage() - Method in interface jakarta.jms.Session
-
Creates a
Message
object. - createObjectMessage() - Method in interface jakarta.jms.JMSContext
-
Creates an
ObjectMessage
object. - createObjectMessage() - Method in interface jakarta.jms.Session
-
Creates an
ObjectMessage
object. - createObjectMessage(Serializable) - Method in interface jakarta.jms.JMSContext
-
Creates an initialized
ObjectMessage
object. - createObjectMessage(Serializable) - Method in interface jakarta.jms.Session
-
Creates an initialized
ObjectMessage
object. - createProducer() - Method in interface jakarta.jms.JMSContext
-
Creates a new
JMSProducer
object which can be used to configure and send messages - createProducer(Destination) - Method in interface jakarta.jms.Session
-
Creates a
MessageProducer
to send messages to the specified destination. - createPublisher(Topic) - Method in interface jakarta.jms.TopicSession
-
Creates a publisher for the specified topic.
- createQueue(String) - Method in interface jakarta.jms.JMSContext
-
Creates a
Queue
object which encapsulates a specified provider-specific queue name. - createQueue(String) - Method in interface jakarta.jms.QueueSession
-
Creates a queue identity given a
Queue
name. - createQueue(String) - Method in interface jakarta.jms.Session
-
Creates a
Queue
object which encapsulates a specified provider-specific queue name. - createQueueConnection() - Method in interface jakarta.jms.QueueConnectionFactory
-
Creates a queue connection with the default user identity.
- createQueueConnection(String, String) - Method in interface jakarta.jms.QueueConnectionFactory
-
Creates a queue connection with the specified user identity.
- createQueueSession(boolean, int) - Method in interface jakarta.jms.QueueConnection
-
Creates a
QueueSession
object, specifyingtransacted
andacknowledgeMode
. - createQueueSession(boolean, int) - Method in interface jakarta.jms.XAQueueConnection
-
Creates a
QueueSession
object. - createReceiver(Queue) - Method in interface jakarta.jms.QueueSession
-
Creates a
QueueReceiver
object to receive messages from the specified queue. - createReceiver(Queue, String) - Method in interface jakarta.jms.QueueSession
-
Creates a
QueueReceiver
object to receive messages from the specified queue using a message selector. - createSender(Queue) - Method in interface jakarta.jms.QueueSession
-
Creates a
QueueSender
object to send messages to the specified queue. - createSession() - Method in interface jakarta.jms.Connection
-
Creates a
Session
object, specifying no arguments. - createSession(boolean, int) - Method in interface jakarta.jms.Connection
-
Creates a
Session
object, specifyingtransacted
andacknowledgeMode
. - createSession(boolean, int) - Method in interface jakarta.jms.XAConnection
-
Creates an
Session
object. - createSession(int) - Method in interface jakarta.jms.Connection
-
Creates a
Session
object, specifyingsessionMode
. - createSharedConnectionConsumer(Topic, String, String, ServerSessionPool, int) - Method in interface jakarta.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 jakarta.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) - Method in interface jakarta.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 jakarta.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, String) - Method in interface jakarta.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 jakarta.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 jakarta.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 jakarta.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 jakarta.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 jakarta.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 jakarta.jms.JMSContext
-
Creates a
StreamMessage
object. - createStreamMessage() - Method in interface jakarta.jms.Session
-
Creates a
StreamMessage
object. - createSubscriber(Topic) - Method in interface jakarta.jms.TopicSession
-
Creates a nondurable subscriber to the specified topic.
- createSubscriber(Topic, String, boolean) - Method in interface jakarta.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 jakarta.jms.JMSContext
-
Creates a
TemporaryQueue
object. - createTemporaryQueue() - Method in interface jakarta.jms.QueueSession
-
Creates a
TemporaryQueue
object. - createTemporaryQueue() - Method in interface jakarta.jms.Session
-
Creates a
TemporaryQueue
object. - createTemporaryTopic() - Method in interface jakarta.jms.JMSContext
-
Creates a
TemporaryTopic
object. - createTemporaryTopic() - Method in interface jakarta.jms.Session
-
Creates a
TemporaryTopic
object. - createTemporaryTopic() - Method in interface jakarta.jms.TopicSession
-
Creates a
TemporaryTopic
object. - createTextMessage() - Method in interface jakarta.jms.JMSContext
-
Creates a
TextMessage
object. - createTextMessage() - Method in interface jakarta.jms.Session
-
Creates a
TextMessage
object. - createTextMessage(String) - Method in interface jakarta.jms.JMSContext
-
Creates an initialized
TextMessage
object. - createTextMessage(String) - Method in interface jakarta.jms.Session
-
Creates an initialized
TextMessage
object. - createTopic(String) - Method in interface jakarta.jms.JMSContext
-
Creates a
Topic
object which encapsulates a specified provider-specific topic name. - createTopic(String) - Method in interface jakarta.jms.Session
-
Creates a
Topic
object which encapsulates a specified provider-specific topic name. - createTopic(String) - Method in interface jakarta.jms.TopicSession
-
Creates a topic identity given a
Topic
name. - createTopicConnection() - Method in interface jakarta.jms.TopicConnectionFactory
-
Creates a topic connection with the default user identity.
- createTopicConnection(String, String) - Method in interface jakarta.jms.TopicConnectionFactory
-
Creates a topic connection with the specified user identity.
- createTopicSession(boolean, int) - Method in interface jakarta.jms.TopicConnection
-
Creates a
TopicSession
object, specifyingtransacted
andacknowledgeMode
. - createTopicSession(boolean, int) - Method in interface jakarta.jms.XATopicConnection
-
Creates a
TopicSession
object. - createXAConnection() - Method in interface jakarta.jms.XAConnectionFactory
-
Creates an
XAConnection
with the default user identity. - createXAConnection(String, String) - Method in interface jakarta.jms.XAConnectionFactory
-
Creates an
XAConnection
with the specified user identity. - createXAContext() - Method in interface jakarta.jms.XAConnectionFactory
-
Creates a
XAJMSContext
with the default user identity - createXAContext(String, String) - Method in interface jakarta.jms.XAConnectionFactory
-
Creates a JMSContext with the specified user identity
- createXAQueueConnection() - Method in interface jakarta.jms.XAQueueConnectionFactory
-
Creates an XA queue connection with the default user identity.
- createXAQueueConnection(String, String) - Method in interface jakarta.jms.XAQueueConnectionFactory
-
Creates an XA queue connection with the specified user identity.
- createXAQueueSession() - Method in interface jakarta.jms.XAQueueConnection
-
Creates an
XAQueueSession
object. - createXASession() - Method in interface jakarta.jms.XAConnection
-
Creates an
XASession
object. - createXATopicConnection() - Method in interface jakarta.jms.XATopicConnectionFactory
-
Creates an XA topic connection with the default user identity.
- createXATopicConnection(String, String) - Method in interface jakarta.jms.XATopicConnectionFactory
-
Creates an XA topic connection with the specified user identity.
- createXATopicSession() - Method in interface jakarta.jms.XATopicConnection
-
Creates an
XATopicSession
object.
D
- DEFAULT_DELIVERY_DELAY - Static variable in interface jakarta.jms.Message
-
The message producer's default delivery delay is zero.
- DEFAULT_DELIVERY_MODE - Static variable in interface jakarta.jms.Message
-
The message producer's default delivery mode is
PERSISTENT
. - DEFAULT_PRIORITY - Static variable in interface jakarta.jms.Message
-
The message producer's default priority is 4.
- DEFAULT_TIME_TO_LIVE - Static variable in interface jakarta.jms.Message
-
The message producer's default time to live is unlimited; the message never expires.
- delete() - Method in interface jakarta.jms.TemporaryQueue
-
Deletes this temporary queue.
- delete() - Method in interface jakarta.jms.TemporaryTopic
-
Deletes this temporary topic.
- DeliveryMode - Interface in jakarta.jms
-
The delivery modes supported by the Jakarta Messaging API are
PERSISTENT
andNON_PERSISTENT
. - description() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
Description of this Jakarta Messaging connection factory.
- description() - Method in annotation type jakarta.jms.JMSDestinationDefinition
-
Description of this Jakarta Messaging destination.
- Destination - Interface in jakarta.jms
-
A
Destination
object encapsulates a provider-specific address. - destinationName() - Method in annotation type jakarta.jms.JMSDestinationDefinition
-
Name of the queue or topic.
- DUPS_OK_ACKNOWLEDGE - Static variable in interface jakarta.jms.JMSContext
-
This session mode instructs the JMSContext's session to lazily acknowledge the delivery of messages.
- DUPS_OK_ACKNOWLEDGE - Static variable in interface jakarta.jms.Session
-
This acknowledgment mode instructs the session to lazily acknowledge the delivery of messages.
E
- ExceptionListener - Interface in jakarta.jms
-
If a Jakarta Messaging provider detects a serious problem with a
Connection
object, it informs theConnection
object'sExceptionListener
, if one has been registered.
G
- getAcknowledgeMode() - Method in interface jakarta.jms.Session
-
Returns the acknowledgement mode of the session.
- getAsync() - Method in interface jakarta.jms.JMSProducer
-
If subsequent calls to
send
on thisJMSProducer
object have been configured to be asynchronous then this method returns theCompletionListener
that has previously been configured. - getAutoStart() - Method in interface jakarta.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 jakarta.jms.Message
-
Returns the message body as an object of the specified type.
- getBodyLength() - Method in interface jakarta.jms.BytesMessage
-
Gets the number of bytes of the message body when the message is in read-only mode.
- getBoolean(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
boolean
value with the specified name. - getBooleanProperty(String) - Method in interface jakarta.jms.JMSProducer
-
Returns the message property with the specified name that has been set on this
JMSProducer
, converted to aboolean
. - getBooleanProperty(String) - Method in interface jakarta.jms.Message
-
Returns the value of the
boolean
property with the specified name. - getByte(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
byte
value with the specified name. - getByteProperty(String) - Method in interface jakarta.jms.JMSProducer
-
Returns the message property with the specified name that has been set on this
JMSProducer
, converted to aString
. - getByteProperty(String) - Method in interface jakarta.jms.Message
-
Returns the value of the
byte
property with the specified name. - getBytes(String) - Method in interface jakarta.jms.MapMessage
-
Returns the byte array value with the specified name.
- getChar(String) - Method in interface jakarta.jms.MapMessage
-
Returns the Unicode character value with the specified name.
- getClientID() - Method in interface jakarta.jms.Connection
-
Gets the client identifier for this connection.
- getClientID() - Method in interface jakarta.jms.JMSContext
-
Gets the client identifier for the JMSContext's connection.
- getContext() - Method in interface jakarta.jms.XAJMSContext
-
Returns the
JMSContext
object associated with thisXAJMSContext
. - getDeliveryDelay() - Method in interface jakarta.jms.JMSProducer
-
Gets the minimum length of time in milliseconds that must elapse after a message is sent before the Jakarta Messaging provider may deliver the message to a consumer.
- getDeliveryDelay() - Method in interface jakarta.jms.MessageProducer
-
Gets the minimum length of time in milliseconds that must elapse after a message is sent before the Jakarta Messaging provider may deliver the message to a consumer.
- getDeliveryMode() - Method in interface jakarta.jms.JMSProducer
-
Returns the delivery mode of messages that are sent using this
JMSProducer
- getDeliveryMode() - Method in interface jakarta.jms.MessageProducer
-
Gets the producer's default delivery mode.
- getDestination() - Method in interface jakarta.jms.MessageProducer
-
Gets the destination associated with this
MessageProducer
. - getDisableMessageID() - Method in interface jakarta.jms.JMSProducer
-
Gets an indication of whether message IDs are disabled.
- getDisableMessageID() - Method in interface jakarta.jms.MessageProducer
-
Gets an indication of whether message IDs are disabled.
- getDisableMessageTimestamp() - Method in interface jakarta.jms.JMSProducer
-
Gets an indication of whether message timestamps are disabled.
- getDisableMessageTimestamp() - Method in interface jakarta.jms.MessageProducer
-
Gets an indication of whether message timestamps are disabled.
- getDouble(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
double
value with the specified name. - getDoubleProperty(String) - Method in interface jakarta.jms.JMSProducer
-
Returns the message property with the specified name that has been set on this
JMSProducer
, converted to adouble
. - getDoubleProperty(String) - Method in interface jakarta.jms.Message
-
Returns the value of the
double
property with the specified name. - getEnumeration() - Method in interface jakarta.jms.QueueBrowser
-
Gets an enumeration for browsing the current queue messages in the order they would be received.
- getErrorCode() - Method in exception jakarta.jms.JMSException
-
Gets the vendor-specific error code.
- getErrorCode() - Method in exception jakarta.jms.JMSRuntimeException
-
Returns the vendor-specific error code.
- getExceptionListener() - Method in interface jakarta.jms.Connection
-
Gets the
ExceptionListener
object for this connection. - getExceptionListener() - Method in interface jakarta.jms.JMSContext
-
Gets the
ExceptionListener
object for the JMSContext's connection. - getFloat(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
float
value with the specified name. - getFloatProperty(String) - Method in interface jakarta.jms.JMSProducer
-
Returns the message property with the specified name that has been set on this
JMSProducer
, converted to afloat
. - getFloatProperty(String) - Method in interface jakarta.jms.Message
-
Returns the value of the
float
property with the specified name. - getInt(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
int
value with the specified name. - getIntProperty(String) - Method in interface jakarta.jms.JMSProducer
-
Returns the message property with the specified name that has been set on this
JMSProducer
, converted to aint
. - getIntProperty(String) - Method in interface jakarta.jms.Message
-
Returns the value of the
int
property with the specified name. - getJMSCorrelationID() - Method in interface jakarta.jms.JMSProducer
-
Returns the
JMSCorrelationID
header value that has been set on thisJMSProducer
, as aString
. - getJMSCorrelationID() - Method in interface jakarta.jms.Message
-
Gets the correlation ID for the message.
- getJMSCorrelationIDAsBytes() - Method in interface jakarta.jms.JMSProducer
-
Returns the
JMSCorrelationID
header value that has been set on thisJMSProducer
, as an array of bytes. - getJMSCorrelationIDAsBytes() - Method in interface jakarta.jms.Message
-
Gets the correlation ID as an array of bytes for the message.
- getJMSDeliveryMode() - Method in interface jakarta.jms.Message
-
Gets the
DeliveryMode
value specified for this message. - getJMSDeliveryTime() - Method in interface jakarta.jms.Message
-
Gets the message's delivery time value.
- getJMSDestination() - Method in interface jakarta.jms.Message
-
Gets the
Destination
object for this message. - getJMSExpiration() - Method in interface jakarta.jms.Message
-
Gets the message's expiration time.
- getJMSMajorVersion() - Method in interface jakarta.jms.ConnectionMetaData
-
Gets the Jakarta Messaging major version number.
- getJMSMessageID() - Method in interface jakarta.jms.Message
-
Gets the message ID.
- getJMSMinorVersion() - Method in interface jakarta.jms.ConnectionMetaData
-
Gets the Jakarta Messaging minor version number.
- getJMSPriority() - Method in interface jakarta.jms.Message
-
Gets the message priority level.
- getJMSProviderName() - Method in interface jakarta.jms.ConnectionMetaData
-
Gets the Jakarta Messaging provider name.
- getJMSRedelivered() - Method in interface jakarta.jms.Message
-
Gets an indication of whether this message is being redelivered.
- getJMSReplyTo() - Method in interface jakarta.jms.JMSProducer
-
Returns the
JMSReplyTo
header value that has been set on thisJMSProducer
. - getJMSReplyTo() - Method in interface jakarta.jms.Message
-
Gets the
Destination
object to which a reply to this message should be sent. - getJMSTimestamp() - Method in interface jakarta.jms.Message
-
Gets the message timestamp.
- getJMSType() - Method in interface jakarta.jms.JMSProducer
-
Returns the
JMSType
header value that has been set on thisJMSProducer
. - getJMSType() - Method in interface jakarta.jms.Message
-
Gets the message type identifier supplied by the client when the message was sent.
- getJMSVersion() - Method in interface jakarta.jms.ConnectionMetaData
-
Gets the Jakarta Messaging API version.
- getJMSXPropertyNames() - Method in interface jakarta.jms.ConnectionMetaData
-
Gets an enumeration of the JMSX property names.
- getLinkedException() - Method in exception jakarta.jms.JMSException
-
Gets the exception linked to this one.
- getLong(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
long
value with the specified name. - getLongProperty(String) - Method in interface jakarta.jms.JMSProducer
-
Returns the message property with the specified name that has been set on this
JMSProducer
, converted to along
. - getLongProperty(String) - Method in interface jakarta.jms.Message
-
Returns the value of the
long
property with the specified name. - getMapNames() - Method in interface jakarta.jms.MapMessage
-
Returns an
Enumeration
of all the names in theMapMessage
object. - getMessageListener() - Method in interface jakarta.jms.JMSConsumer
-
Gets the
JMSConsumer
'sMessageListener
. - getMessageListener() - Method in interface jakarta.jms.MessageConsumer
-
Gets the
MessageConsumer
'sMessageListener
. - getMessageListener() - Method in interface jakarta.jms.Session
-
Returns the session's distinguished message listener (optional).
- getMessageSelector() - Method in interface jakarta.jms.JMSConsumer
-
Gets this
JMSConsumer
's message selector expression. - getMessageSelector() - Method in interface jakarta.jms.MessageConsumer
-
Gets this message consumer's message selector expression.
- getMessageSelector() - Method in interface jakarta.jms.QueueBrowser
-
Gets this queue browser's message selector expression.
- getMetaData() - Method in interface jakarta.jms.Connection
-
Gets the metadata for this connection.
- getMetaData() - Method in interface jakarta.jms.JMSContext
-
Gets the connection metadata for the JMSContext's connection.
- getNoLocal() - Method in interface jakarta.jms.TopicSubscriber
-
Gets the
NoLocal
attribute for this subscriber. - getObject() - Method in interface jakarta.jms.ObjectMessage
-
Gets the serializable object containing this message's data.
- getObject(String) - Method in interface jakarta.jms.MapMessage
-
Returns the value of the object with the specified name.
- getObjectProperty(String) - Method in interface jakarta.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 jakarta.jms.Message
-
Returns the value of the Java object property with the specified name.
- getPriority() - Method in interface jakarta.jms.JMSProducer
-
Return the priority of messages that are sent using this
JMSProducer
- getPriority() - Method in interface jakarta.jms.MessageProducer
-
Gets the producer's default priority.
- getPropertyNames() - Method in interface jakarta.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 jakarta.jms.Message
-
Returns an
Enumeration
of all the property names. - getProviderMajorVersion() - Method in interface jakarta.jms.ConnectionMetaData
-
Gets the Jakarta Messaging provider major version number.
- getProviderMinorVersion() - Method in interface jakarta.jms.ConnectionMetaData
-
Gets the Jakarta Messaging provider minor version number.
- getProviderVersion() - Method in interface jakarta.jms.ConnectionMetaData
-
Gets the Jakarta Messaging provider version.
- getQueue() - Method in interface jakarta.jms.QueueBrowser
-
Gets the queue associated with this queue browser.
- getQueue() - Method in interface jakarta.jms.QueueReceiver
-
Gets the
Queue
associated with this queue receiver. - getQueue() - Method in interface jakarta.jms.QueueSender
-
Gets the queue associated with this
QueueSender
. - getQueueName() - Method in interface jakarta.jms.Queue
-
Gets the name of this queue.
- getQueueSession() - Method in interface jakarta.jms.XAQueueSession
-
Gets the queue session associated with this
XAQueueSession
. - getServerSession() - Method in interface jakarta.jms.ServerSessionPool
-
Return a server session from the pool.
- getServerSessionPool() - Method in interface jakarta.jms.ConnectionConsumer
-
Gets the server session pool associated with this connection consumer.
- getSession() - Method in interface jakarta.jms.ServerSession
-
Return the
ServerSession
'sSession
. - getSession() - Method in interface jakarta.jms.XASession
-
Gets the session associated with this
XASession
. - getSessionMode() - Method in interface jakarta.jms.JMSContext
-
Returns the session mode of the JMSContext's session.
- getShort(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
short
value with the specified name. - getShortProperty(String) - Method in interface jakarta.jms.JMSProducer
-
Returns the message property with the specified name that has been set on this
JMSProducer
, converted to ashort
. - getShortProperty(String) - Method in interface jakarta.jms.Message
-
Returns the value of the
short
property with the specified name. - getString(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
String
value with the specified name. - getStringProperty(String) - Method in interface jakarta.jms.JMSProducer
-
Returns the message property with the specified name that has been set on this
JMSProducer
, converted to aString
. - getStringProperty(String) - Method in interface jakarta.jms.Message
-
Returns the value of the
String
property with the specified name. - getText() - Method in interface jakarta.jms.TextMessage
-
Gets the string containing this message's data.
- getTimeToLive() - Method in interface jakarta.jms.JMSProducer
-
Returns the time to live of messages that are sent using this
JMSProducer
. - getTimeToLive() - Method in interface jakarta.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 jakarta.jms.TopicPublisher
-
Gets the topic associated with this
TopicPublisher
. - getTopic() - Method in interface jakarta.jms.TopicSubscriber
-
Gets the
Topic
associated with this subscriber. - getTopicName() - Method in interface jakarta.jms.Topic
-
Gets the name of this topic.
- getTopicSession() - Method in interface jakarta.jms.XATopicSession
-
Gets the topic session associated with this
XATopicSession
. - getTransacted() - Method in interface jakarta.jms.JMSContext
-
Indicates whether the JMSContext's session is in transacted mode.
- getTransacted() - Method in interface jakarta.jms.Session
-
Indicates whether the session is in transacted mode.
- getTransacted() - Method in interface jakarta.jms.XAJMSContext
-
Returns whether the session is in transacted mode; this method always returns true.
- getTransacted() - Method in interface jakarta.jms.XASession
-
Indicates whether the session is in transacted mode.
- getXAResource() - Method in interface jakarta.jms.XAJMSContext
-
Returns an
XAResource
to the caller. - getXAResource() - Method in interface jakarta.jms.XASession
-
Returns an XA resource to the caller.
I
- IllegalStateException - Exception in jakarta.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 jakarta.jms.IllegalStateException
-
Constructs an
IllegalStateException
with the specified reason. - IllegalStateException(String, String) - Constructor for exception jakarta.jms.IllegalStateException
-
Constructs an
IllegalStateException
with the specified reason and error code. - IllegalStateException(String, String, Exception) - Constructor for exception jakarta.jms.IllegalStateException
-
Constructs an
IllegalStateException
with the specified reason, error code and linked exception. - IllegalStateRuntimeException - Exception in jakarta.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 jakarta.jms.IllegalStateRuntimeException
-
Constructs a
IllegalStateRuntimeException
with the specified detail message - IllegalStateRuntimeException(String, String) - Constructor for exception jakarta.jms.IllegalStateRuntimeException
-
Constructs a
IllegalStateRuntimeException
with the specified detail message and error code. - IllegalStateRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.IllegalStateRuntimeException
-
Constructs a
IllegalStateRuntimeException
with the specified detail message, error code and cause - interfaceName() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
Fully qualified name of the Jakarta Messaging connection factory interface.
- interfaceName() - Method in annotation type jakarta.jms.JMSDestinationDefinition
-
Fully qualified name of the Jakarta Messaging destination interface.
- InvalidClientIDException - Exception in jakarta.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 jakarta.jms.InvalidClientIDException
-
Constructs an
InvalidClientIDException
with the specified reason. - InvalidClientIDException(String, String) - Constructor for exception jakarta.jms.InvalidClientIDException
-
Constructs an
InvalidClientIDException
with the specified reason and error code. - InvalidClientIDException(String, String, Exception) - Constructor for exception jakarta.jms.InvalidClientIDException
-
Constructs an
InvalidClientIDException
with the specified reason, error code and linked exception. - InvalidClientIDRuntimeException - Exception in jakarta.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 jakarta.jms.InvalidClientIDRuntimeException
-
Constructs a
InvalidClientIDRuntimeException
with the specified detail message - InvalidClientIDRuntimeException(String, String) - Constructor for exception jakarta.jms.InvalidClientIDRuntimeException
-
Constructs a
InvalidClientIDRuntimeException
with the specified detail message and error code. - InvalidClientIDRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.InvalidClientIDRuntimeException
-
Constructs a
InvalidClientIDRuntimeException
with the specified detail message, error code and cause - InvalidDestinationException - Exception in jakarta.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 jakarta.jms.InvalidDestinationException
-
Constructs an
InvalidDestinationException
with the specified reason. - InvalidDestinationException(String, String) - Constructor for exception jakarta.jms.InvalidDestinationException
-
Constructs an
InvalidDestinationException
with the specified reason and error code. - InvalidDestinationException(String, String, Exception) - Constructor for exception jakarta.jms.InvalidDestinationException
-
Constructs an
InvalidDestinationException
with the specified reason, error code and linked exception. - InvalidDestinationRuntimeException - Exception in jakarta.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 jakarta.jms.InvalidDestinationRuntimeException
-
Constructs a
InvalidDestinationRuntimeException
with the specified detail message - InvalidDestinationRuntimeException(String, String) - Constructor for exception jakarta.jms.InvalidDestinationRuntimeException
-
Constructs a
InvalidDestinationRuntimeException
with the specified detail message and error code. - InvalidDestinationRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.InvalidDestinationRuntimeException
-
Constructs a
InvalidDestinationRuntimeException
with the specified detail message, error code and cause - InvalidSelectorException - Exception in jakarta.jms
-
This exception must be thrown when a Jakarta Messaging client attempts to give a provider a message selector with invalid syntax.
- InvalidSelectorException(String) - Constructor for exception jakarta.jms.InvalidSelectorException
-
Constructs an
InvalidSelectorException
with the specified reason. - InvalidSelectorException(String, String) - Constructor for exception jakarta.jms.InvalidSelectorException
-
Constructs an
InvalidSelectorException
with the specified reason and error code. - InvalidSelectorException(String, String, Exception) - Constructor for exception jakarta.jms.InvalidSelectorException
-
Constructs an
InvalidSelectorException
with the specified reason, error code and linked exception. - InvalidSelectorRuntimeException - Exception in jakarta.jms
-
This unchecked exception must be thrown when a Jakarta Messaging client attempts to give a provider a message selector with invalid syntax, and the method signature does not permit a
InvalidSelectorException
to be thrown. - InvalidSelectorRuntimeException(String) - Constructor for exception jakarta.jms.InvalidSelectorRuntimeException
-
Constructs a
InvalidSelectorRuntimeException
with the specified detail message - InvalidSelectorRuntimeException(String, String) - Constructor for exception jakarta.jms.InvalidSelectorRuntimeException
-
Constructs a
InvalidSelectorRuntimeException
with the specified detail message and error code. - InvalidSelectorRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.InvalidSelectorRuntimeException
-
Constructs a
InvalidSelectorRuntimeException
with the specified detail message, error code and cause - isBodyAssignableTo(Class) - Method in interface jakarta.jms.Message
-
Returns whether the message body is capable of being assigned to the specified type.
- itemExists(String) - Method in interface jakarta.jms.MapMessage
-
Indicates whether an item exists in this
MapMessage
object.
J
- jakarta.jms - package jakarta.jms
-
The Jakarta Messaging API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
- jakarta.messaging - module jakarta.messaging
- JMSConnectionFactory - Annotation Type in jakarta.jms
-
This annotation may be used on a field to specify the JNDI lookup name of a
jakarta.jms.ConnectionFactory
to be used when injecting ajakarta.jms.JMSContext
object. - JMSConnectionFactoryDefinition - Annotation Type in jakarta.jms
-
An application may use this annotation to specify a Jakarta Messaging
ConnectionFactory
resource that it requires in its operational environment. - JMSConnectionFactoryDefinitions - Annotation Type in jakarta.jms
-
Specifies one or more
JMSConnectionFactoryDefinition
annotations. - JMSConsumer - Interface in jakarta.jms
-
A client using the simplified Jakarta Messaging API introduced for Jakarta Messaging 2.0 uses a
JMSConsumer
object to receive messages from a queue or topic. - JMSContext - Interface in jakarta.jms
-
A
JMSContext
is the main interface in the simplified Jakarta Messaging API introduced for Jakarta Messaging 2.0. - JMSDestinationDefinition - Annotation Type in jakarta.jms
-
An application may use this annotation to specify a Jakarta Messaging
Destination
resource that it requires in its operational environment. - JMSDestinationDefinitions - Annotation Type in jakarta.jms
-
Specifies one or more
JMSDestinationDefinition
annotations. - JMSException - Exception in jakarta.jms
-
This is the root class of all checked exceptions in the Jakarta Messaging API.
- JMSException(String) - Constructor for exception jakarta.jms.JMSException
-
Constructs a
JMSException
with the specified reason and with the error code defaulting to null. - JMSException(String, String) - Constructor for exception jakarta.jms.JMSException
-
Constructs a
JMSException
with the specified reason and error code. - JMSException(String, String, Exception) - Constructor for exception jakarta.jms.JMSException
-
Constructs a
JMSException
with the specified reason, error code and linked exception. - JMSPasswordCredential - Annotation Type in jakarta.jms
-
This annotation may be used to specify the userName and password to be used when injecting a
jakarta.jms.JMSContext
object. - JMSProducer - Interface in jakarta.jms
-
A
JMSProducer
is a simple object used to send messages on behalf of aJMSContext
. - JMSRuntimeException - Exception in jakarta.jms
-
This is the root class of all unchecked exceptions in the Jakarta Messaging API.
- JMSRuntimeException(String) - Constructor for exception jakarta.jms.JMSRuntimeException
-
Constructs a
JMSRuntimeException
with the specified detail message - JMSRuntimeException(String, String) - Constructor for exception jakarta.jms.JMSRuntimeException
-
Constructs a
JMSRuntimeException
with the specified detail message and error code. - JMSRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.JMSRuntimeException
-
Constructs a
JMSRuntimeException
with the specified detail message, error code and cause - JMSSecurityException - Exception in jakarta.jms
-
This exception must be thrown when a provider rejects a user name/password submitted by a client.
- JMSSecurityException(String) - Constructor for exception jakarta.jms.JMSSecurityException
-
Constructs a
JMSSecurityException
with the specified reason. - JMSSecurityException(String, String) - Constructor for exception jakarta.jms.JMSSecurityException
-
Constructs a
JMSSecurityException
with the specified reason and error code. - JMSSecurityException(String, String, Exception) - Constructor for exception jakarta.jms.JMSSecurityException
-
Constructs a
JMSSecurityException
with the specified reason, error code and linked exception. - JMSSecurityRuntimeException - Exception in jakarta.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 jakarta.jms.JMSSecurityRuntimeException
-
Constructs a
JMSSecurityRuntimeException
with the specified detail message - JMSSecurityRuntimeException(String, String) - Constructor for exception jakarta.jms.JMSSecurityRuntimeException
-
Constructs a
JMSSecurityRuntimeException
with the specified detail message and error code. - JMSSecurityRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.JMSSecurityRuntimeException
-
Constructs a
JMSSecurityRuntimeException
with the specified detail message, error code and cause - JMSSessionMode - Annotation Type in jakarta.jms
-
This annotation may be used to specify the session mode to be used when injecting a
jakarta.jms.JMSContext
object.
M
- MapMessage - Interface in jakarta.jms
-
A
MapMessage
object is used to send a set of name-value pairs. - maxPoolSize() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
Maximum number of connections that should be concurrently allocated for a connection pool.
- Message - Interface in jakarta.jms
-
The
Message
interface is the root interface of all Jakarta Messaging messages. - MessageConsumer - Interface in jakarta.jms
-
A client uses a
MessageConsumer
object to receive messages from a destination. - MessageEOFException - Exception in jakarta.jms
-
This exception must be thrown when an unexpected end of stream has been reached when a
StreamMessage
orBytesMessage
is being read. - MessageEOFException(String) - Constructor for exception jakarta.jms.MessageEOFException
-
Constructs a
MessageEOFException
with the specified reason. - MessageEOFException(String, String) - Constructor for exception jakarta.jms.MessageEOFException
-
Constructs a
MessageEOFException
with the specified reason and error code. - MessageEOFException(String, String, Exception) - Constructor for exception jakarta.jms.MessageEOFException
-
Constructs a
MessageEOFException
with the specified reason, error code and linked exception. - MessageFormatException - Exception in jakarta.jms
-
This exception must be thrown when a Jakarta Messaging 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 jakarta.jms.MessageFormatException
-
Constructs a
MessageFormatException
with the specified reason. - MessageFormatException(String, String) - Constructor for exception jakarta.jms.MessageFormatException
-
Constructs a
MessageFormatException
with the specified reason and error code. - MessageFormatException(String, String, Exception) - Constructor for exception jakarta.jms.MessageFormatException
-
Constructs a
MessageFormatException
with the specified reason, error code and linked exception. - MessageFormatRuntimeException - Exception in jakarta.jms
-
This unchecked exception must be thrown when a Jakarta Messaging application attempts to use a data type not supported by a message or attempts to read data in a message as the wrong type, and the method signature does not permit a
MessageFormatException
to be thrown. - MessageFormatRuntimeException(String) - Constructor for exception jakarta.jms.MessageFormatRuntimeException
-
Constructs a
MessageFormatRuntimeException
with the specified detail message - MessageFormatRuntimeException(String, String) - Constructor for exception jakarta.jms.MessageFormatRuntimeException
-
Constructs a
MessageFormatRuntimeException
with the specified detail message and error code. - MessageFormatRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.MessageFormatRuntimeException
-
Constructs a
MessageFormatRuntimeException
with the specified detail message, error code and cause - MessageListener - Interface in jakarta.jms
-
A
MessageListener
object is used to receive asynchronously delivered messages. - MessageNotReadableException - Exception in jakarta.jms
-
This exception must be thrown when a Jakarta Messaging client attempts to read a write-only message.
- MessageNotReadableException(String) - Constructor for exception jakarta.jms.MessageNotReadableException
-
Constructs a
MessageNotReadableException
with the specified reason. - MessageNotReadableException(String, String) - Constructor for exception jakarta.jms.MessageNotReadableException
-
Constructs a
MessageNotReadableException
with the specified reason and error code. - MessageNotReadableException(String, String, Exception) - Constructor for exception jakarta.jms.MessageNotReadableException
-
Constructs a
MessageNotReadableException
with the specified reason, error code and linked exception. - MessageNotWriteableException - Exception in jakarta.jms
-
This exception must be thrown when a Jakarta Messaging client attempts to write to a read-only message.
- MessageNotWriteableException(String) - Constructor for exception jakarta.jms.MessageNotWriteableException
-
Constructs a
MessageNotWriteableException
with the specified reason. - MessageNotWriteableException(String, String) - Constructor for exception jakarta.jms.MessageNotWriteableException
-
Constructs a
MessageNotWriteableException
with the specified reason and error code. - MessageNotWriteableException(String, String, Exception) - Constructor for exception jakarta.jms.MessageNotWriteableException
-
Constructs a
MessageNotWriteableException
with the specified reason, error code and linked exception. - MessageNotWriteableRuntimeException - Exception in jakarta.jms
-
This unchecked exception must be thrown when a Jakarta Messaging client attempts to write to a read-only message.
- MessageNotWriteableRuntimeException(String) - Constructor for exception jakarta.jms.MessageNotWriteableRuntimeException
-
Constructs a
MessageNotWriteableRuntimeException
with the specified reason. - MessageNotWriteableRuntimeException(String, String) - Constructor for exception jakarta.jms.MessageNotWriteableRuntimeException
-
Constructs a
MessageNotWriteableRuntimeException
with the specified reason and error code. - MessageNotWriteableRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.MessageNotWriteableRuntimeException
-
Constructs a
MessageNotWriteableRuntimeException
with the specified detail message, error code and cause - MessageProducer - Interface in jakarta.jms
-
A client uses a
MessageProducer
object to send messages to a destination. - minPoolSize() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
Minimum number of connections that should be concurrently allocated for a connection pool.
N
- name() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
JNDI name of the Jakarta Messaging connection factory being defined.
- name() - Method in annotation type jakarta.jms.JMSDestinationDefinition
-
JNDI name of the destination resource being defined.
- NON_PERSISTENT - Static variable in interface jakarta.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 jakarta.jms
-
An
ObjectMessage
object is used to send a message that contains a serializable object in the Java programming language ("Java object"). - onCompletion(Message) - Method in interface jakarta.jms.CompletionListener
-
Notifies the application that the message has been successfully sent
- onException(JMSException) - Method in interface jakarta.jms.ExceptionListener
-
Notifies user of a Jakarta Messaging exception.
- onException(Message, Exception) - Method in interface jakarta.jms.CompletionListener
-
Notifies user that the specified exception was thrown while attempting to send the specified message.
- onMessage(Message) - Method in interface jakarta.jms.MessageListener
-
Passes a message to the listener.
P
- password() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
Password to use for connection authentication.
- password() - Method in annotation type jakarta.jms.JMSPasswordCredential
-
Specifies the password to be used when injecting a
jakarta.jms.JMSContext
object - PERSISTENT - Static variable in interface jakarta.jms.DeliveryMode
-
This delivery mode instructs the Jakarta Messaging provider to log the message to stable storage as part of the client's send operation.
- properties() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
Jakarta Messaging connection factory property.
- properties() - Method in annotation type jakarta.jms.JMSDestinationDefinition
-
Jakarta Messaging destination property.
- propertyExists(String) - Method in interface jakarta.jms.JMSProducer
-
Indicates whether a message property with the specified name has been set on this
JMSProducer
- propertyExists(String) - Method in interface jakarta.jms.Message
-
Indicates whether a property value exists.
- publish(Message) - Method in interface jakarta.jms.TopicPublisher
-
Publishes a message to the topic.
- publish(Message, int, int, long) - Method in interface jakarta.jms.TopicPublisher
-
Publishes a message to the topic, specifying delivery mode, priority, and time to live.
- publish(Topic, Message) - Method in interface jakarta.jms.TopicPublisher
-
Publishes a message to a topic for an unidentified message producer.
- publish(Topic, Message, int, int, long) - Method in interface jakarta.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 jakarta.jms
-
A
Queue
object encapsulates a provider-specific queue name. - QueueBrowser - Interface in jakarta.jms
-
A client uses a
QueueBrowser
object to look at messages on a queue without removing them. - QueueConnection - Interface in jakarta.jms
-
A
QueueConnection
object is an active connection to a point-to-point Jakarta Messaging provider. - QueueConnectionFactory - Interface in jakarta.jms
-
A client uses a
QueueConnectionFactory
object to createQueueConnection
objects with a point-to-point Jakarta Messaging provider. - QueueReceiver - Interface in jakarta.jms
-
A client uses a
QueueReceiver
object to receive messages that have been delivered to a queue. - QueueRequestor - Class in jakarta.jms
-
The
QueueRequestor
helper class simplifies making service requests. - QueueRequestor(QueueSession, Queue) - Constructor for class jakarta.jms.QueueRequestor
-
Constructor for the
QueueRequestor
class. - QueueSender - Interface in jakarta.jms
-
A client uses a
QueueSender
object to send messages to a queue. - QueueSession - Interface in jakarta.jms
-
A
QueueSession
object provides methods for creatingQueueReceiver
,QueueSender
,QueueBrowser
, andTemporaryQueue
objects.
R
- readBoolean() - Method in interface jakarta.jms.BytesMessage
-
Reads a
boolean
from the bytes message stream. - readBoolean() - Method in interface jakarta.jms.StreamMessage
-
Reads a
boolean
from the stream message. - readByte() - Method in interface jakarta.jms.BytesMessage
-
Reads a signed 8-bit value from the bytes message stream.
- readByte() - Method in interface jakarta.jms.StreamMessage
-
Reads a
byte
value from the stream message. - readBytes(byte[]) - Method in interface jakarta.jms.BytesMessage
-
Reads a byte array from the bytes message stream.
- readBytes(byte[]) - Method in interface jakarta.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 jakarta.jms.BytesMessage
-
Reads a portion of the bytes message stream.
- readChar() - Method in interface jakarta.jms.BytesMessage
-
Reads a Unicode character value from the bytes message stream.
- readChar() - Method in interface jakarta.jms.StreamMessage
-
Reads a Unicode character value from the stream message.
- readDouble() - Method in interface jakarta.jms.BytesMessage
-
Reads a
double
from the bytes message stream. - readDouble() - Method in interface jakarta.jms.StreamMessage
-
Reads a
double
from the stream message. - readFloat() - Method in interface jakarta.jms.BytesMessage
-
Reads a
float
from the bytes message stream. - readFloat() - Method in interface jakarta.jms.StreamMessage
-
Reads a
float
from the stream message. - readInt() - Method in interface jakarta.jms.BytesMessage
-
Reads a signed 32-bit integer from the bytes message stream.
- readInt() - Method in interface jakarta.jms.StreamMessage
-
Reads a 32-bit integer from the stream message.
- readLong() - Method in interface jakarta.jms.BytesMessage
-
Reads a signed 64-bit integer from the bytes message stream.
- readLong() - Method in interface jakarta.jms.StreamMessage
-
Reads a 64-bit integer from the stream message.
- readObject() - Method in interface jakarta.jms.StreamMessage
-
Reads an object from the stream message.
- readShort() - Method in interface jakarta.jms.BytesMessage
-
Reads a signed 16-bit number from the bytes message stream.
- readShort() - Method in interface jakarta.jms.StreamMessage
-
Reads a 16-bit integer from the stream message.
- readString() - Method in interface jakarta.jms.StreamMessage
-
Reads a
String
from the stream message. - readUnsignedByte() - Method in interface jakarta.jms.BytesMessage
-
Reads an unsigned 8-bit number from the bytes message stream.
- readUnsignedShort() - Method in interface jakarta.jms.BytesMessage
-
Reads an unsigned 16-bit number from the bytes message stream.
- readUTF() - Method in interface jakarta.jms.BytesMessage
-
Reads a string that has been encoded using a modified UTF-8 format from the bytes message stream.
- receive() - Method in interface jakarta.jms.JMSConsumer
-
Receives the next message produced for this
JMSConsumer
. - receive() - Method in interface jakarta.jms.MessageConsumer
-
Receives the next message produced for this message consumer.
- receive(long) - Method in interface jakarta.jms.JMSConsumer
-
Receives the next message that arrives within the specified timeout interval.
- receive(long) - Method in interface jakarta.jms.MessageConsumer
-
Receives the next message that arrives within the specified timeout interval.
- receiveBody(Class<T>) - Method in interface jakarta.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 jakarta.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 jakarta.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 jakarta.jms.JMSConsumer
-
Receives the next message if one is immediately available.
- receiveNoWait() - Method in interface jakarta.jms.MessageConsumer
-
Receives the next message if one is immediately available.
- recover() - Method in interface jakarta.jms.JMSContext
-
Stops message delivery in the JMSContext's session, and restarts message delivery with the oldest unacknowledged message.
- recover() - Method in interface jakarta.jms.Session
-
Stops message delivery in this session, and restarts message delivery with the oldest unacknowledged message.
- request(Message) - Method in class jakarta.jms.QueueRequestor
-
Sends a request and waits for a reply.
- request(Message) - Method in class jakarta.jms.TopicRequestor
-
Sends a request and waits for a reply.
- reset() - Method in interface jakarta.jms.BytesMessage
-
Puts the message body in read-only mode and repositions the stream of bytes to the beginning.
- reset() - Method in interface jakarta.jms.StreamMessage
-
Puts the message body in read-only mode and repositions the stream to the beginning.
- resourceAdapter() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
Resource adapter name.
- resourceAdapter() - Method in annotation type jakarta.jms.JMSDestinationDefinition
-
Resource adapter name.
- ResourceAllocationException - Exception in jakarta.jms
-
This exception is thrown when a provider is unable to allocate the resources required by a method.
- ResourceAllocationException(String) - Constructor for exception jakarta.jms.ResourceAllocationException
-
Constructs a
ResourceAllocationException
with the specified reason. - ResourceAllocationException(String, String) - Constructor for exception jakarta.jms.ResourceAllocationException
-
Constructs a
ResourceAllocationException
with the specified reason and error code. - ResourceAllocationException(String, String, Exception) - Constructor for exception jakarta.jms.ResourceAllocationException
-
Constructs a
ResourceAllocationException
with the specified reason, error code and linked exception. - ResourceAllocationRuntimeException - Exception in jakarta.jms
-
This unchecked exception is thrown when a provider is unable to allocate the resources required by a method.
- ResourceAllocationRuntimeException(String) - Constructor for exception jakarta.jms.ResourceAllocationRuntimeException
-
Constructs a
ResourceAllocationRuntimeException
with the specified reason. - ResourceAllocationRuntimeException(String, String) - Constructor for exception jakarta.jms.ResourceAllocationRuntimeException
-
Constructs a
ResourceAllocationRuntimeException
with the specified reason and error code. - ResourceAllocationRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.ResourceAllocationRuntimeException
-
Constructs a
ResourceAllocationRuntimeException
with the specified detail message, error code and cause - rollback() - Method in interface jakarta.jms.JMSContext
-
Rolls back any messages done in this transaction and releases any locks currently held.
- rollback() - Method in interface jakarta.jms.Session
-
Rolls back any messages done in this transaction and releases any locks currently held.
- rollback() - Method in interface jakarta.jms.XAJMSContext
-
Throws a
TransactionInProgressRuntimeException
, since it should not be called for anXAJMSContext
object. - rollback() - Method in interface jakarta.jms.XASession
-
Throws a
TransactionInProgressException
, since it should not be called for anXASession
object. - run() - Method in interface jakarta.jms.Session
-
Optional operation, intended to be used only by Application Servers, not by ordinary Jakarta Messaging clients.
S
- send(Destination, byte[]) - Method in interface jakarta.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 thisJMSProducer
. - send(Destination, Message) - Method in interface jakarta.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, Message) - Method in interface jakarta.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 jakarta.jms.MessageProducer
-
Sends a message to a destination for an unidentified message producer, specifying delivery mode, priority and time to live.
- send(Destination, Message, int, int, long, CompletionListener) - Method in interface jakarta.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(Destination, Message, CompletionListener) - Method in interface jakarta.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, Serializable) - Method in interface jakarta.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 thisJMSProducer
. - send(Destination, String) - Method in interface jakarta.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 thisJMSProducer
. - send(Destination, Map<String, Object>) - Method in interface jakarta.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 thisJMSProducer
. - send(Message) - Method in interface jakarta.jms.MessageProducer
-
Sends a message using the
MessageProducer
's default delivery mode, priority, and time to live. - send(Message) - Method in interface jakarta.jms.QueueSender
-
Sends a message to the queue.
- send(Message, int, int, long) - Method in interface jakarta.jms.MessageProducer
-
Sends a message, specifying delivery mode, priority, and time to live.
- send(Message, int, int, long) - Method in interface jakarta.jms.QueueSender
-
Sends a message to the queue, specifying delivery mode, priority, and time to live.
- send(Message, int, int, long, CompletionListener) - Method in interface jakarta.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(Message, CompletionListener) - Method in interface jakarta.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(Queue, Message) - Method in interface jakarta.jms.QueueSender
-
Sends a message to a queue for an unidentified message producer.
- send(Queue, Message, int, int, long) - Method in interface jakarta.jms.QueueSender
-
Sends a message to a queue for an unidentified message producer, specifying delivery mode, priority and time to live.
- ServerSession - Interface in jakarta.jms
-
A
ServerSession
object is an application server object that is used by a server to associate a thread with a Jakarta Messaging session (optional). - ServerSessionPool - Interface in jakarta.jms
-
A
ServerSessionPool
object is an object implemented by an application server to provide a pool ofServerSession
objects for processing the messages of aConnectionConsumer
(optional). - Session - Interface in jakarta.jms
-
A
Session
object is a single-threaded context for producing and consuming messages. - SESSION_TRANSACTED - Static variable in interface jakarta.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 callingrollback
. - SESSION_TRANSACTED - Static variable in interface jakarta.jms.Session
-
This value may be passed as the argument to the method
createSession(int sessionMode)
on theConnection
object to specify that the session should use a local transaction. - setAsync(CompletionListener) - Method in interface jakarta.jms.JMSProducer
-
Specifies whether subsequent calls to
send
on thisJMSProducer
object should be synchronous or asynchronous. - setAutoStart(boolean) - Method in interface jakarta.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 jakarta.jms.MapMessage
-
Sets a
boolean
value with the specified name into the Map. - setBooleanProperty(String, boolean) - Method in interface jakarta.jms.Message
-
Sets a
boolean
property value with the specified name into the message. - setByte(String, byte) - Method in interface jakarta.jms.MapMessage
-
Sets a
byte
value with the specified name into the Map. - setByteProperty(String, byte) - Method in interface jakarta.jms.Message
-
Sets a
byte
property value with the specified name into the message. - setBytes(String, byte[]) - Method in interface jakarta.jms.MapMessage
-
Sets a byte array value with the specified name into the Map.
- setBytes(String, byte[], int, int) - Method in interface jakarta.jms.MapMessage
-
Sets a portion of the byte array value with the specified name into the Map.
- setChar(String, char) - Method in interface jakarta.jms.MapMessage
-
Sets a Unicode character value with the specified name into the Map.
- setClientID(String) - Method in interface jakarta.jms.Connection
-
Sets the client identifier for this connection.
- setClientID(String) - Method in interface jakarta.jms.JMSContext
-
Sets the client identifier for the JMSContext's connection.
- setDeliveryDelay(long) - Method in interface jakarta.jms.JMSProducer
-
Sets the minimum length of time in milliseconds that must elapse after a message is sent before the Jakarta Messaging provider may deliver the message to a consumer.
- setDeliveryDelay(long) - Method in interface jakarta.jms.MessageProducer
-
Sets the minimum length of time in milliseconds that must elapse after a message is sent before the Jakarta Messaging provider may deliver the message to a consumer.
- setDeliveryMode(int) - Method in interface jakarta.jms.JMSProducer
-
Specifies the delivery mode of messages that are sent using this
JMSProducer
- setDeliveryMode(int) - Method in interface jakarta.jms.MessageProducer
-
Sets the producer's default delivery mode.
- setDisableMessageID(boolean) - Method in interface jakarta.jms.JMSProducer
-
Specifies whether message IDs may be disabled for messages that are sent using this
JMSProducer
- setDisableMessageID(boolean) - Method in interface jakarta.jms.MessageProducer
-
Specify whether message IDs may be disabled.
- setDisableMessageTimestamp(boolean) - Method in interface jakarta.jms.JMSProducer
-
Specifies whether message timestamps may be disabled for messages that are sent using this
JMSProducer
. - setDisableMessageTimestamp(boolean) - Method in interface jakarta.jms.MessageProducer
-
Specify whether message timestamps may be disabled.
- setDouble(String, double) - Method in interface jakarta.jms.MapMessage
-
Sets a
double
value with the specified name into the Map. - setDoubleProperty(String, double) - Method in interface jakarta.jms.Message
-
Sets a
double
property value with the specified name into the message. - setExceptionListener(ExceptionListener) - Method in interface jakarta.jms.Connection
-
Sets an exception listener for this connection.
- setExceptionListener(ExceptionListener) - Method in interface jakarta.jms.JMSContext
-
Sets an exception listener for the JMSContext's connection.
- setFloat(String, float) - Method in interface jakarta.jms.MapMessage
-
Sets a
float
value with the specified name into the Map. - setFloatProperty(String, float) - Method in interface jakarta.jms.Message
-
Sets a
float
property value with the specified name into the message. - setInt(String, int) - Method in interface jakarta.jms.MapMessage
-
Sets an
int
value with the specified name into the Map. - setIntProperty(String, int) - Method in interface jakarta.jms.Message
-
Sets an
int
property value with the specified name into the message. - setJMSCorrelationID(String) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have theirJMSCorrelationID
header value set to the specified correlation ID, where correlation ID is specified as aString
. - setJMSCorrelationID(String) - Method in interface jakarta.jms.Message
-
Sets the correlation ID for the message.
- setJMSCorrelationIDAsBytes(byte[]) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have theirJMSCorrelationID
header value set to the specified correlation ID, where correlation ID is specified as an array of bytes. - setJMSCorrelationIDAsBytes(byte[]) - Method in interface jakarta.jms.Message
-
Sets the correlation ID as an array of bytes for the message.
- setJMSDeliveryMode(int) - Method in interface jakarta.jms.Message
-
Sets the
DeliveryMode
value for this message. - setJMSDeliveryTime(long) - Method in interface jakarta.jms.Message
-
Sets the message's delivery time value.
- setJMSDestination(Destination) - Method in interface jakarta.jms.Message
-
Sets the
Destination
object for this message. - setJMSExpiration(long) - Method in interface jakarta.jms.Message
-
Sets the message's expiration value.
- setJMSMessageID(String) - Method in interface jakarta.jms.Message
-
Sets the message ID.
- setJMSPriority(int) - Method in interface jakarta.jms.Message
-
Sets the priority level for this message.
- setJMSRedelivered(boolean) - Method in interface jakarta.jms.Message
-
Specifies whether this message is being redelivered.
- setJMSReplyTo(Destination) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have theirJMSReplyTo
header value set to the specifiedDestination
object. - setJMSReplyTo(Destination) - Method in interface jakarta.jms.Message
-
Sets the
Destination
object to which a reply to this message should be sent. - setJMSTimestamp(long) - Method in interface jakarta.jms.Message
-
Sets the message timestamp.
- setJMSType(String) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have theirJMSType
header value set to the specified message type. - setJMSType(String) - Method in interface jakarta.jms.Message
-
Sets the message type.
- setLinkedException(Exception) - Method in exception jakarta.jms.JMSException
-
Adds a linked
Exception
. - setLong(String, long) - Method in interface jakarta.jms.MapMessage
-
Sets a
long
value with the specified name into the Map. - setLongProperty(String, long) - Method in interface jakarta.jms.Message
-
Sets a
long
property value with the specified name into the message. - setMessageListener(MessageListener) - Method in interface jakarta.jms.JMSConsumer
-
Sets the
JMSConsumer
'sMessageListener
. - setMessageListener(MessageListener) - Method in interface jakarta.jms.MessageConsumer
-
Sets the
MessageConsumer
'sMessageListener
. - setMessageListener(MessageListener) - Method in interface jakarta.jms.Session
-
Sets the session's distinguished message listener (optional).
- setObject(Serializable) - Method in interface jakarta.jms.ObjectMessage
-
Sets the serializable object containing this message's data.
- setObject(String, Object) - Method in interface jakarta.jms.MapMessage
-
Sets an object value with the specified name into the Map.
- setObjectProperty(String, Object) - Method in interface jakarta.jms.Message
-
Sets a Java object property value with the specified name into the message.
- setPriority(int) - Method in interface jakarta.jms.JMSProducer
-
Specifies the priority of messages that are sent using this
JMSProducer
- setPriority(int) - Method in interface jakarta.jms.MessageProducer
-
Sets the producer's default priority.
- setProperty(String, boolean) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have the specified property set to the specifiedboolean
value. - setProperty(String, byte) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have the specified property set to the specifiedbyte
value. - setProperty(String, double) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have the specified property set to the specifieddouble
value. - setProperty(String, float) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have the specified property set to the specifiedfloat
value. - setProperty(String, int) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have the specified property set to the specifiedint
value. - setProperty(String, long) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have the specified property set to the specifiedlong
value. - setProperty(String, short) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have the specified property set to the specifiedshort
value. - setProperty(String, Object) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have the specified property set to the specified Java object value. - setProperty(String, String) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducer
will have the specified property set to the specifiedString
value. - setShort(String, short) - Method in interface jakarta.jms.MapMessage
-
Sets a
short
value with the specified name into the Map. - setShortProperty(String, short) - Method in interface jakarta.jms.Message
-
Sets a
short
property value with the specified name into the message. - setString(String, String) - Method in interface jakarta.jms.MapMessage
-
Sets a
String
value with the specified name into the Map. - setStringProperty(String, String) - Method in interface jakarta.jms.Message
-
Sets a
String
property value with the specified name into the message. - setText(String) - Method in interface jakarta.jms.TextMessage
-
Sets the string containing this message's data.
- setTimeToLive(long) - Method in interface jakarta.jms.JMSProducer
-
Specifies the time to live of messages that are sent using this
JMSProducer
. - setTimeToLive(long) - Method in interface jakarta.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 jakarta.jms.Connection
-
Starts (or restarts) a connection's delivery of incoming messages.
- start() - Method in interface jakarta.jms.JMSContext
-
Starts (or restarts) delivery of incoming messages by the JMSContext's connection.
- start() - Method in interface jakarta.jms.ServerSession
-
Cause the
Session
'srun
method to be called to process messages that were just assigned to it. - stop() - Method in interface jakarta.jms.Connection
-
Temporarily stops a connection's delivery of incoming messages.
- stop() - Method in interface jakarta.jms.JMSContext
-
Temporarily stops the delivery of incoming messages by the JMSContext's connection.
- StreamMessage - Interface in jakarta.jms
-
A
StreamMessage
object is used to send a stream of primitive types in the Java programming language.
T
- TemporaryQueue - Interface in jakarta.jms
-
A
TemporaryQueue
object is a uniqueQueue
object created for the duration of aConnection
. - TemporaryTopic - Interface in jakarta.jms
-
A
TemporaryTopic
object is a uniqueTopic
object created for the duration of aConnection
. - TextMessage - Interface in jakarta.jms
-
A
TextMessage
object is used to send a message containing ajava.lang.String
. - Topic - Interface in jakarta.jms
-
A
Topic
object encapsulates a provider-specific topic name. - TopicConnection - Interface in jakarta.jms
-
A
TopicConnection
object is an active connection to a publish/subscribe Jakarta Messaging provider. - TopicConnectionFactory - Interface in jakarta.jms
-
A client uses a
TopicConnectionFactory
object to createTopicConnection
objects with a publish/subscribe Jakarta Messaging provider. - TopicPublisher - Interface in jakarta.jms
-
A client uses a
TopicPublisher
object to publish messages on a topic. - TopicRequestor - Class in jakarta.jms
-
The
TopicRequestor
helper class simplifies making service requests. - TopicRequestor(TopicSession, Topic) - Constructor for class jakarta.jms.TopicRequestor
-
Constructor for the
TopicRequestor
class. - TopicSession - Interface in jakarta.jms
-
A
TopicSession
object provides methods for creatingTopicPublisher
,TopicSubscriber
, andTemporaryTopic
objects. - TopicSubscriber - Interface in jakarta.jms
-
A client uses a
TopicSubscriber
object to receive messages that have been published to a topic. - toString() - Method in interface jakarta.jms.Queue
-
Returns a string representation of this object.
- toString() - Method in interface jakarta.jms.Topic
-
Returns a string representation of this object.
- transactional() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
Set to
false
if connections should not participate in transactions. - TransactionInProgressException - Exception in jakarta.jms
-
This exception is thrown when an operation is invalid because a transaction is in progress.
- TransactionInProgressException(String) - Constructor for exception jakarta.jms.TransactionInProgressException
-
Constructs a
TransactionInProgressException
with the specified reason. - TransactionInProgressException(String, String) - Constructor for exception jakarta.jms.TransactionInProgressException
-
Constructs a
TransactionInProgressException
with the specified reason and error code. - TransactionInProgressException(String, String, Exception) - Constructor for exception jakarta.jms.TransactionInProgressException
-
Constructs a
TransactionInProgressException
with the specified reason, error code and linked exception. - TransactionInProgressRuntimeException - Exception in jakarta.jms
-
This unchecked exception is thrown when an operation is invalid because a transaction is in progress.
- TransactionInProgressRuntimeException(String) - Constructor for exception jakarta.jms.TransactionInProgressRuntimeException
-
Constructs a
TransactionInProgressRuntimeException
with the specified detail message - TransactionInProgressRuntimeException(String, String) - Constructor for exception jakarta.jms.TransactionInProgressRuntimeException
-
Constructs a
TransactionInProgressRuntimeException
with the specified detail message and error code. - TransactionInProgressRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.TransactionInProgressRuntimeException
-
Constructs a
TransactionInProgressRuntimeException
with the specified detail message, error code and cause - TransactionRolledBackException - Exception in jakarta.jms
-
This exception must be thrown when a call to
Session.commit
results in a rollback of the current transaction. - TransactionRolledBackException(String) - Constructor for exception jakarta.jms.TransactionRolledBackException
-
Constructs a
TransactionRolledBackException
with the specified reason. - TransactionRolledBackException(String, String) - Constructor for exception jakarta.jms.TransactionRolledBackException
-
Constructs a
TransactionRolledBackException
with the specified reason and error code. - TransactionRolledBackException(String, String, Exception) - Constructor for exception jakarta.jms.TransactionRolledBackException
-
Constructs a
TransactionRolledBackException
with the specified reason, error code and linked exception. - TransactionRolledBackRuntimeException - Exception in jakarta.jms
-
This unchecked exception must be thrown when a call to
JMSContext.commit
results in a rollback of the current transaction. - TransactionRolledBackRuntimeException(String) - Constructor for exception jakarta.jms.TransactionRolledBackRuntimeException
-
Constructs a
TransactionRolledBackRuntimeException
with the specified detail message - TransactionRolledBackRuntimeException(String, String) - Constructor for exception jakarta.jms.TransactionRolledBackRuntimeException
-
Constructs a
TransactionRolledBackRuntimeException
with the specified detail message and error code. - TransactionRolledBackRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.TransactionRolledBackRuntimeException
-
Constructs a
TransactionRolledBackRuntimeException
with the specified detail message, error code and cause
U
- unsubscribe(String) - Method in interface jakarta.jms.JMSContext
-
Unsubscribes a durable subscription that has been created by a client.
- unsubscribe(String) - Method in interface jakarta.jms.Session
-
Unsubscribes a durable subscription that has been created by a client.
- unsubscribe(String) - Method in interface jakarta.jms.TopicSession
-
Unsubscribes a durable subscription that has been created by a client.
- user() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinition
-
User name to use for connection authentication.
- userName() - Method in annotation type jakarta.jms.JMSPasswordCredential
-
Specifies the userName to be used when injecting a
jakarta.jms.JMSContext
object
V
- value() - Method in annotation type jakarta.jms.JMSConnectionFactory
-
Specifies the JNDI lookup name of a
jakarta.jms.ConnectionFactory
to be used. - value() - Method in annotation type jakarta.jms.JMSConnectionFactoryDefinitions
- value() - Method in annotation type jakarta.jms.JMSDestinationDefinitions
- value() - Method in annotation type jakarta.jms.JMSSessionMode
-
Specifies the session mode used when injecting a
jakarta.jms.JMSContext
object.
W
- writeBoolean(boolean) - Method in interface jakarta.jms.BytesMessage
-
Writes a
boolean
to the bytes message stream as a 1-byte value. - writeBoolean(boolean) - Method in interface jakarta.jms.StreamMessage
-
Writes a
boolean
to the stream message. - writeByte(byte) - Method in interface jakarta.jms.BytesMessage
-
Writes a
byte
to the bytes message stream as a 1-byte value. - writeByte(byte) - Method in interface jakarta.jms.StreamMessage
-
Writes a
byte
to the stream message. - writeBytes(byte[]) - Method in interface jakarta.jms.BytesMessage
-
Writes a byte array to the bytes message stream.
- writeBytes(byte[]) - Method in interface jakarta.jms.StreamMessage
-
Writes a byte array field to the stream message.
- writeBytes(byte[], int, int) - Method in interface jakarta.jms.BytesMessage
-
Writes a portion of a byte array to the bytes message stream.
- writeBytes(byte[], int, int) - Method in interface jakarta.jms.StreamMessage
-
Writes a portion of a byte array as a byte array field to the stream message.
- writeChar(char) - Method in interface jakarta.jms.BytesMessage
-
Writes a
char
to the bytes message stream as a 2-byte value, high byte first. - writeChar(char) - Method in interface jakarta.jms.StreamMessage
-
Writes a
char
to the stream message. - writeDouble(double) - Method in interface jakarta.jms.BytesMessage
-
Converts the
double
argument to along
using thedoubleToLongBits
method in classDouble
, and then writes thatlong
value to the bytes message stream as an 8-byte quantity, high byte first. - writeDouble(double) - Method in interface jakarta.jms.StreamMessage
-
Writes a
double
to the stream message. - writeFloat(float) - Method in interface jakarta.jms.BytesMessage
-
Converts the
float
argument to anint
using thefloatToIntBits
method in classFloat
, and then writes thatint
value to the bytes message stream as a 4-byte quantity, high byte first. - writeFloat(float) - Method in interface jakarta.jms.StreamMessage
-
Writes a
float
to the stream message. - writeInt(int) - Method in interface jakarta.jms.BytesMessage
-
Writes an
int
to the bytes message stream as four bytes, high byte first. - writeInt(int) - Method in interface jakarta.jms.StreamMessage
-
Writes an
int
to the stream message. - writeLong(long) - Method in interface jakarta.jms.BytesMessage
-
Writes a
long
to the bytes message stream as eight bytes, high byte first. - writeLong(long) - Method in interface jakarta.jms.StreamMessage
-
Writes a
long
to the stream message. - writeObject(Object) - Method in interface jakarta.jms.BytesMessage
-
Writes an object to the bytes message stream.
- writeObject(Object) - Method in interface jakarta.jms.StreamMessage
-
Writes an object to the stream message.
- writeShort(short) - Method in interface jakarta.jms.BytesMessage
-
Writes a
short
to the bytes message stream as two bytes, high byte first. - writeShort(short) - Method in interface jakarta.jms.StreamMessage
-
Writes a
short
to the stream message. - writeString(String) - Method in interface jakarta.jms.StreamMessage
-
Writes a
String
to the stream message. - writeUTF(String) - Method in interface jakarta.jms.BytesMessage
-
Writes a string to the bytes message stream using UTF-8 encoding in a machine-independent manner.
X
- XAConnection - Interface in jakarta.jms
-
The
XAConnection
interface extends the capability ofConnection
by providing anXASession
(optional). - XAConnectionFactory - Interface in jakarta.jms
-
The
XAConnectionFactory
interface is a base interface for theXAQueueConnectionFactory
andXATopicConnectionFactory
interfaces. - XAJMSContext - Interface in jakarta.jms
-
The
XAJMSContext
interface extends the capability ofJMSContext
by adding access to a Jakarta Messaging provider's support for the Java Transaction API (JTA) (optional). - XAQueueConnection - Interface in jakarta.jms
-
An
XAQueueConnection
provides the same create options asQueueConnection
(optional). - XAQueueConnectionFactory - Interface in jakarta.jms
-
An
XAQueueConnectionFactory
provides the same create options as aQueueConnectionFactory
(optional). - XAQueueSession - Interface in jakarta.jms
-
An
XAQueueSession
provides a regularQueueSession
, which can be used to createQueueReceiver
,QueueSender
, andQueueBrowser
objects (optional). - XASession - Interface in jakarta.jms
-
The
XASession
interface extends the capability ofSession
by adding access to a Jakarta Messaging provider's support for the Java Transaction API (JTA) (optional). - XATopicConnection - Interface in jakarta.jms
-
An
XATopicConnection
provides the same create options asTopicConnection
(optional). - XATopicConnectionFactory - Interface in jakarta.jms
-
An
XATopicConnectionFactory
provides the same create options as aTopicConnectionFactory
(optional). - XATopicSession - Interface in jakarta.jms
-
An
XATopicSession
provides a regularTopicSession
.
All Classes All Packages