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
receiveor 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
receiveor when the message listener the session has called to process the message successfully returns.
B
- BytesMessage - Interface in jakarta.jms
-
A
BytesMessageobject 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
acknowledgemethod. - CLIENT_ACKNOWLEDGE - Static variable in interface jakarta.jms.Session
-
With this acknowledgment mode, the client acknowledges a consumed message by calling the message's
acknowledgemethod. - 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
QueueRequestorand its session. - close() - Method in interface jakarta.jms.Session
-
Closes the session.
- close() - Method in class jakarta.jms.TopicRequestor
-
Closes the
TopicRequestorand 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 anXAJMSContextobject. - commit() - Method in interface jakarta.jms.XASession
-
Throws a
TransactionInProgressException, since it should not be called for anXASessionobject. - CompletionListener - Interface in jakarta.jms
-
A
CompletionListeneris implemented by the application and may be specified when a message is sent asynchronously. - Connection - Interface in jakarta.jms
-
A
Connectionobject is a client's active connection to its Jakarta Messaging provider. - ConnectionConsumer - Interface in jakarta.jms
-
For application servers,
Connectionobjects provide a special facility for creating aConnectionConsumer(optional). - ConnectionFactory - Interface in jakarta.jms
-
A
ConnectionFactoryobject encapsulates a set of connection configuration parameters that has been defined by an administrator. - ConnectionMetaData - Interface in jakarta.jms
-
A
ConnectionMetaDataobject provides information describing theConnectionobject. - createBrowser(Queue) - Method in interface jakarta.jms.JMSContext
-
Creates a
QueueBrowserobject to peek at the messages on the specified queue. - createBrowser(Queue) - Method in interface jakarta.jms.QueueSession
-
Creates a
QueueBrowserobject to peek at the messages on the specified queue. - createBrowser(Queue) - Method in interface jakarta.jms.Session
-
Creates a
QueueBrowserobject to peek at the messages on the specified queue. - createBrowser(Queue, String) - Method in interface jakarta.jms.JMSContext
-
Creates a
QueueBrowserobject to peek at the messages on the specified queue using a message selector. - createBrowser(Queue, String) - Method in interface jakarta.jms.QueueSession
-
Creates a
QueueBrowserobject to peek at the messages on the specified queue using a message selector. - createBrowser(Queue, String) - Method in interface jakarta.jms.Session
-
Creates a
QueueBrowserobject to peek at the messages on the specified queue using a message selector. - createBytesMessage() - Method in interface jakarta.jms.JMSContext
-
Creates a
BytesMessageobject. - createBytesMessage() - Method in interface jakarta.jms.Session
-
Creates a
BytesMessageobject. - 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
JMSConsumerfor the specified destination. - createConsumer(Destination) - Method in interface jakarta.jms.Session
-
Creates a
MessageConsumerfor the specified destination. - createConsumer(Destination, String) - Method in interface jakarta.jms.JMSContext
-
Creates a
JMSConsumerfor the specified destination, using a message selector. - createConsumer(Destination, String) - Method in interface jakarta.jms.Session
-
Creates a
MessageConsumerfor the specified destination, using a message selector. - createConsumer(Destination, String, boolean) - Method in interface jakarta.jms.JMSContext
-
Creates a
JMSConsumerfor the specified destination, specifying a message selector and thenoLocalparameter. - createConsumer(Destination, String, boolean) - Method in interface jakarta.jms.Session
-
Creates a
MessageConsumerfor the specified destination, specifying a message selector and thenoLocalparameter. - 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
JMSContextwith the specified session mode using the same connection as thisJMSContextand 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
noLocalparameter, 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
noLocalparameter, 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
noLocalparameter, 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
noLocalparameter, and creates a consumer on that durable subscription. - createMapMessage() - Method in interface jakarta.jms.JMSContext
-
Creates a
MapMessageobject. - createMapMessage() - Method in interface jakarta.jms.Session
-
Creates a
MapMessageobject. - createMessage() - Method in interface jakarta.jms.JMSContext
-
Creates a
Messageobject. - createMessage() - Method in interface jakarta.jms.Session
-
Creates a
Messageobject. - createObjectMessage() - Method in interface jakarta.jms.JMSContext
-
Creates an
ObjectMessageobject. - createObjectMessage() - Method in interface jakarta.jms.Session
-
Creates an
ObjectMessageobject. - createObjectMessage(Serializable) - Method in interface jakarta.jms.JMSContext
-
Creates an initialized
ObjectMessageobject. - createObjectMessage(Serializable) - Method in interface jakarta.jms.Session
-
Creates an initialized
ObjectMessageobject. - createProducer() - Method in interface jakarta.jms.JMSContext
-
Creates a new
JMSProducerobject which can be used to configure and send messages - createProducer(Destination) - Method in interface jakarta.jms.Session
-
Creates a
MessageProducerto 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
Queueobject which encapsulates a specified provider-specific queue name. - createQueue(String) - Method in interface jakarta.jms.QueueSession
-
Creates a queue identity given a
Queuename. - createQueue(String) - Method in interface jakarta.jms.Session
-
Creates a
Queueobject 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
QueueSessionobject, specifyingtransactedandacknowledgeMode. - createQueueSession(boolean, int) - Method in interface jakarta.jms.XAQueueConnection
-
Creates a
QueueSessionobject. - createReceiver(Queue) - Method in interface jakarta.jms.QueueSession
-
Creates a
QueueReceiverobject to receive messages from the specified queue. - createReceiver(Queue, String) - Method in interface jakarta.jms.QueueSession
-
Creates a
QueueReceiverobject to receive messages from the specified queue using a message selector. - createSender(Queue) - Method in interface jakarta.jms.QueueSession
-
Creates a
QueueSenderobject to send messages to the specified queue. - createSession() - Method in interface jakarta.jms.Connection
-
Creates a
Sessionobject, specifying no arguments. - createSession(boolean, int) - Method in interface jakarta.jms.Connection
-
Creates a
Sessionobject, specifyingtransactedandacknowledgeMode. - createSession(boolean, int) - Method in interface jakarta.jms.XAConnection
-
Creates an
Sessionobject. - createSession(int) - Method in interface jakarta.jms.Connection
-
Creates a
Sessionobject, 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
noLocalparameter, 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
StreamMessageobject. - createStreamMessage() - Method in interface jakarta.jms.Session
-
Creates a
StreamMessageobject. - 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
TemporaryQueueobject. - createTemporaryQueue() - Method in interface jakarta.jms.QueueSession
-
Creates a
TemporaryQueueobject. - createTemporaryQueue() - Method in interface jakarta.jms.Session
-
Creates a
TemporaryQueueobject. - createTemporaryTopic() - Method in interface jakarta.jms.JMSContext
-
Creates a
TemporaryTopicobject. - createTemporaryTopic() - Method in interface jakarta.jms.Session
-
Creates a
TemporaryTopicobject. - createTemporaryTopic() - Method in interface jakarta.jms.TopicSession
-
Creates a
TemporaryTopicobject. - createTextMessage() - Method in interface jakarta.jms.JMSContext
-
Creates a
TextMessageobject. - createTextMessage() - Method in interface jakarta.jms.Session
-
Creates a
TextMessageobject. - createTextMessage(String) - Method in interface jakarta.jms.JMSContext
-
Creates an initialized
TextMessageobject. - createTextMessage(String) - Method in interface jakarta.jms.Session
-
Creates an initialized
TextMessageobject. - createTopic(String) - Method in interface jakarta.jms.JMSContext
-
Creates a
Topicobject which encapsulates a specified provider-specific topic name. - createTopic(String) - Method in interface jakarta.jms.Session
-
Creates a
Topicobject which encapsulates a specified provider-specific topic name. - createTopic(String) - Method in interface jakarta.jms.TopicSession
-
Creates a topic identity given a
Topicname. - 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
TopicSessionobject, specifyingtransactedandacknowledgeMode. - createTopicSession(boolean, int) - Method in interface jakarta.jms.XATopicConnection
-
Creates a
TopicSessionobject. - createXAConnection() - Method in interface jakarta.jms.XAConnectionFactory
-
Creates an
XAConnectionwith the default user identity. - createXAConnection(String, String) - Method in interface jakarta.jms.XAConnectionFactory
-
Creates an
XAConnectionwith the specified user identity. - createXAContext() - Method in interface jakarta.jms.XAConnectionFactory
-
Creates a
XAJMSContextwith 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
XAQueueSessionobject. - createXASession() - Method in interface jakarta.jms.XAConnection
-
Creates an
XASessionobject. - 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
XATopicSessionobject.
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
PERSISTENTandNON_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
Destinationobject 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
Connectionobject, it informs theConnectionobject'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
sendon thisJMSProducerobject have been configured to be asynchronous then this method returns theCompletionListenerthat has previously been configured. - getAutoStart() - Method in interface jakarta.jms.JMSContext
-
Returns whether the underlying connection used by this
JMSContextwill 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
booleanvalue 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
booleanproperty with the specified name. - getByte(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
bytevalue 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
byteproperty 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
JMSContextobject 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
doublevalue 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
doubleproperty 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
ExceptionListenerobject for this connection. - getExceptionListener() - Method in interface jakarta.jms.JMSContext
-
Gets the
ExceptionListenerobject for the JMSContext's connection. - getFloat(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
floatvalue 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
floatproperty with the specified name. - getInt(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
intvalue 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
intproperty with the specified name. - getJMSCorrelationID() - Method in interface jakarta.jms.JMSProducer
-
Returns the
JMSCorrelationIDheader 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
JMSCorrelationIDheader 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
DeliveryModevalue 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
Destinationobject 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
JMSReplyToheader value that has been set on thisJMSProducer. - getJMSReplyTo() - Method in interface jakarta.jms.Message
-
Gets the
Destinationobject 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
JMSTypeheader 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
longvalue 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
longproperty with the specified name. - getMapNames() - Method in interface jakarta.jms.MapMessage
-
Returns an
Enumerationof all the names in theMapMessageobject. - 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
NoLocalattribute 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
Setview of the names of all the message properties that have been set on this JMSProducer. - getPropertyNames() - Method in interface jakarta.jms.Message
-
Returns an
Enumerationof 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
Queueassociated 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
shortvalue 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
shortproperty with the specified name. - getString(String) - Method in interface jakarta.jms.MapMessage
-
Returns the
Stringvalue 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
Stringproperty 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
Topicassociated 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
XAResourceto 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
IllegalStateExceptionwith the specified reason. - IllegalStateException(String, String) - Constructor for exception jakarta.jms.IllegalStateException
-
Constructs an
IllegalStateExceptionwith the specified reason and error code. - IllegalStateException(String, String, Exception) - Constructor for exception jakarta.jms.IllegalStateException
-
Constructs an
IllegalStateExceptionwith 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
IllegalStateRuntimeExceptionto be thrown. - IllegalStateRuntimeException(String) - Constructor for exception jakarta.jms.IllegalStateRuntimeException
-
Constructs a
IllegalStateRuntimeExceptionwith the specified detail message - IllegalStateRuntimeException(String, String) - Constructor for exception jakarta.jms.IllegalStateRuntimeException
-
Constructs a
IllegalStateRuntimeExceptionwith the specified detail message and error code. - IllegalStateRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.IllegalStateRuntimeException
-
Constructs a
IllegalStateRuntimeExceptionwith 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
InvalidClientIDExceptionwith the specified reason. - InvalidClientIDException(String, String) - Constructor for exception jakarta.jms.InvalidClientIDException
-
Constructs an
InvalidClientIDExceptionwith the specified reason and error code. - InvalidClientIDException(String, String, Exception) - Constructor for exception jakarta.jms.InvalidClientIDException
-
Constructs an
InvalidClientIDExceptionwith 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
InvalidClientIDExceptionto be thrown. - InvalidClientIDRuntimeException(String) - Constructor for exception jakarta.jms.InvalidClientIDRuntimeException
-
Constructs a
InvalidClientIDRuntimeExceptionwith the specified detail message - InvalidClientIDRuntimeException(String, String) - Constructor for exception jakarta.jms.InvalidClientIDRuntimeException
-
Constructs a
InvalidClientIDRuntimeExceptionwith the specified detail message and error code. - InvalidClientIDRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.InvalidClientIDRuntimeException
-
Constructs a
InvalidClientIDRuntimeExceptionwith 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
InvalidDestinationExceptionwith the specified reason. - InvalidDestinationException(String, String) - Constructor for exception jakarta.jms.InvalidDestinationException
-
Constructs an
InvalidDestinationExceptionwith the specified reason and error code. - InvalidDestinationException(String, String, Exception) - Constructor for exception jakarta.jms.InvalidDestinationException
-
Constructs an
InvalidDestinationExceptionwith 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
InvalidDestinationExceptionto be thrown. - InvalidDestinationRuntimeException(String) - Constructor for exception jakarta.jms.InvalidDestinationRuntimeException
-
Constructs a
InvalidDestinationRuntimeExceptionwith the specified detail message - InvalidDestinationRuntimeException(String, String) - Constructor for exception jakarta.jms.InvalidDestinationRuntimeException
-
Constructs a
InvalidDestinationRuntimeExceptionwith the specified detail message and error code. - InvalidDestinationRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.InvalidDestinationRuntimeException
-
Constructs a
InvalidDestinationRuntimeExceptionwith 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
InvalidSelectorExceptionwith the specified reason. - InvalidSelectorException(String, String) - Constructor for exception jakarta.jms.InvalidSelectorException
-
Constructs an
InvalidSelectorExceptionwith the specified reason and error code. - InvalidSelectorException(String, String, Exception) - Constructor for exception jakarta.jms.InvalidSelectorException
-
Constructs an
InvalidSelectorExceptionwith 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
InvalidSelectorExceptionto be thrown. - InvalidSelectorRuntimeException(String) - Constructor for exception jakarta.jms.InvalidSelectorRuntimeException
-
Constructs a
InvalidSelectorRuntimeExceptionwith the specified detail message - InvalidSelectorRuntimeException(String, String) - Constructor for exception jakarta.jms.InvalidSelectorRuntimeException
-
Constructs a
InvalidSelectorRuntimeExceptionwith the specified detail message and error code. - InvalidSelectorRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.InvalidSelectorRuntimeException
-
Constructs a
InvalidSelectorRuntimeExceptionwith 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
MapMessageobject.
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.ConnectionFactoryto be used when injecting ajakarta.jms.JMSContextobject. - JMSConnectionFactoryDefinition - Annotation Type in jakarta.jms
-
An application may use this annotation to specify a Jakarta Messaging
ConnectionFactoryresource that it requires in its operational environment. - JMSConnectionFactoryDefinitions - Annotation Type in jakarta.jms
-
Specifies one or more
JMSConnectionFactoryDefinitionannotations. - JMSConsumer - Interface in jakarta.jms
-
A client using the simplified Jakarta Messaging API introduced for Jakarta Messaging 2.0 uses a
JMSConsumerobject to receive messages from a queue or topic. - JMSContext - Interface in jakarta.jms
-
A
JMSContextis 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
Destinationresource that it requires in its operational environment. - JMSDestinationDefinitions - Annotation Type in jakarta.jms
-
Specifies one or more
JMSDestinationDefinitionannotations. - 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
JMSExceptionwith the specified reason and with the error code defaulting to null. - JMSException(String, String) - Constructor for exception jakarta.jms.JMSException
-
Constructs a
JMSExceptionwith the specified reason and error code. - JMSException(String, String, Exception) - Constructor for exception jakarta.jms.JMSException
-
Constructs a
JMSExceptionwith 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.JMSContextobject. - JMSProducer - Interface in jakarta.jms
-
A
JMSProduceris 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
JMSRuntimeExceptionwith the specified detail message - JMSRuntimeException(String, String) - Constructor for exception jakarta.jms.JMSRuntimeException
-
Constructs a
JMSRuntimeExceptionwith the specified detail message and error code. - JMSRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.JMSRuntimeException
-
Constructs a
JMSRuntimeExceptionwith 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
JMSSecurityExceptionwith the specified reason. - JMSSecurityException(String, String) - Constructor for exception jakarta.jms.JMSSecurityException
-
Constructs a
JMSSecurityExceptionwith the specified reason and error code. - JMSSecurityException(String, String, Exception) - Constructor for exception jakarta.jms.JMSSecurityException
-
Constructs a
JMSSecurityExceptionwith 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
JMSSecurityExceptionto be thrown. - JMSSecurityRuntimeException(String) - Constructor for exception jakarta.jms.JMSSecurityRuntimeException
-
Constructs a
JMSSecurityRuntimeExceptionwith the specified detail message - JMSSecurityRuntimeException(String, String) - Constructor for exception jakarta.jms.JMSSecurityRuntimeException
-
Constructs a
JMSSecurityRuntimeExceptionwith the specified detail message and error code. - JMSSecurityRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.JMSSecurityRuntimeException
-
Constructs a
JMSSecurityRuntimeExceptionwith 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.JMSContextobject.
M
- MapMessage - Interface in jakarta.jms
-
A
MapMessageobject 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
Messageinterface is the root interface of all Jakarta Messaging messages. - MessageConsumer - Interface in jakarta.jms
-
A client uses a
MessageConsumerobject 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
StreamMessageorBytesMessageis being read. - MessageEOFException(String) - Constructor for exception jakarta.jms.MessageEOFException
-
Constructs a
MessageEOFExceptionwith the specified reason. - MessageEOFException(String, String) - Constructor for exception jakarta.jms.MessageEOFException
-
Constructs a
MessageEOFExceptionwith the specified reason and error code. - MessageEOFException(String, String, Exception) - Constructor for exception jakarta.jms.MessageEOFException
-
Constructs a
MessageEOFExceptionwith 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
MessageFormatExceptionwith the specified reason. - MessageFormatException(String, String) - Constructor for exception jakarta.jms.MessageFormatException
-
Constructs a
MessageFormatExceptionwith the specified reason and error code. - MessageFormatException(String, String, Exception) - Constructor for exception jakarta.jms.MessageFormatException
-
Constructs a
MessageFormatExceptionwith 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
MessageFormatExceptionto be thrown. - MessageFormatRuntimeException(String) - Constructor for exception jakarta.jms.MessageFormatRuntimeException
-
Constructs a
MessageFormatRuntimeExceptionwith the specified detail message - MessageFormatRuntimeException(String, String) - Constructor for exception jakarta.jms.MessageFormatRuntimeException
-
Constructs a
MessageFormatRuntimeExceptionwith the specified detail message and error code. - MessageFormatRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.MessageFormatRuntimeException
-
Constructs a
MessageFormatRuntimeExceptionwith the specified detail message, error code and cause - MessageListener - Interface in jakarta.jms
-
A
MessageListenerobject 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
MessageNotReadableExceptionwith the specified reason. - MessageNotReadableException(String, String) - Constructor for exception jakarta.jms.MessageNotReadableException
-
Constructs a
MessageNotReadableExceptionwith the specified reason and error code. - MessageNotReadableException(String, String, Exception) - Constructor for exception jakarta.jms.MessageNotReadableException
-
Constructs a
MessageNotReadableExceptionwith 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
MessageNotWriteableExceptionwith the specified reason. - MessageNotWriteableException(String, String) - Constructor for exception jakarta.jms.MessageNotWriteableException
-
Constructs a
MessageNotWriteableExceptionwith the specified reason and error code. - MessageNotWriteableException(String, String, Exception) - Constructor for exception jakarta.jms.MessageNotWriteableException
-
Constructs a
MessageNotWriteableExceptionwith 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
MessageNotWriteableRuntimeExceptionwith the specified reason. - MessageNotWriteableRuntimeException(String, String) - Constructor for exception jakarta.jms.MessageNotWriteableRuntimeException
-
Constructs a
MessageNotWriteableRuntimeExceptionwith the specified reason and error code. - MessageNotWriteableRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.MessageNotWriteableRuntimeException
-
Constructs a
MessageNotWriteableRuntimeExceptionwith the specified detail message, error code and cause - MessageProducer - Interface in jakarta.jms
-
A client uses a
MessageProducerobject 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
ObjectMessageobject 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.JMSContextobject - 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
Queueobject encapsulates a provider-specific queue name. - QueueBrowser - Interface in jakarta.jms
-
A client uses a
QueueBrowserobject to look at messages on a queue without removing them. - QueueConnection - Interface in jakarta.jms
-
A
QueueConnectionobject is an active connection to a point-to-point Jakarta Messaging provider. - QueueConnectionFactory - Interface in jakarta.jms
-
A client uses a
QueueConnectionFactoryobject to createQueueConnectionobjects with a point-to-point Jakarta Messaging provider. - QueueReceiver - Interface in jakarta.jms
-
A client uses a
QueueReceiverobject to receive messages that have been delivered to a queue. - QueueRequestor - Class in jakarta.jms
-
The
QueueRequestorhelper class simplifies making service requests. - QueueRequestor(QueueSession, Queue) - Constructor for class jakarta.jms.QueueRequestor
-
Constructor for the
QueueRequestorclass. - QueueSender - Interface in jakarta.jms
-
A client uses a
QueueSenderobject to send messages to a queue. - QueueSession - Interface in jakarta.jms
-
A
QueueSessionobject provides methods for creatingQueueReceiver,QueueSender,QueueBrowser, andTemporaryQueueobjects.
R
- readBoolean() - Method in interface jakarta.jms.BytesMessage
-
Reads a
booleanfrom the bytes message stream. - readBoolean() - Method in interface jakarta.jms.StreamMessage
-
Reads a
booleanfrom 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
bytevalue 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
doublefrom the bytes message stream. - readDouble() - Method in interface jakarta.jms.StreamMessage
-
Reads a
doublefrom the stream message. - readFloat() - Method in interface jakarta.jms.BytesMessage
-
Reads a
floatfrom the bytes message stream. - readFloat() - Method in interface jakarta.jms.StreamMessage
-
Reads a
floatfrom 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
Stringfrom 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
JMSConsumerand 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
JMSConsumerthat 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
JMSConsumerif 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
ResourceAllocationExceptionwith the specified reason. - ResourceAllocationException(String, String) - Constructor for exception jakarta.jms.ResourceAllocationException
-
Constructs a
ResourceAllocationExceptionwith the specified reason and error code. - ResourceAllocationException(String, String, Exception) - Constructor for exception jakarta.jms.ResourceAllocationException
-
Constructs a
ResourceAllocationExceptionwith 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
ResourceAllocationRuntimeExceptionwith the specified reason. - ResourceAllocationRuntimeException(String, String) - Constructor for exception jakarta.jms.ResourceAllocationRuntimeException
-
Constructs a
ResourceAllocationRuntimeExceptionwith the specified reason and error code. - ResourceAllocationRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.ResourceAllocationRuntimeException
-
Constructs a
ResourceAllocationRuntimeExceptionwith 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 anXAJMSContextobject. - rollback() - Method in interface jakarta.jms.XASession
-
Throws a
TransactionInProgressException, since it should not be called for anXASessionobject. - 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
BytesMessagewith 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
ObjectMessagewith 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
TextMessagewith 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
MapMessagewith 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
ServerSessionobject 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
ServerSessionPoolobject is an object implemented by an application server to provide a pool ofServerSessionobjects for processing the messages of aConnectionConsumer(optional). - Session - Interface in jakarta.jms
-
A
Sessionobject 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
commitor 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 theConnectionobject to specify that the session should use a local transaction. - setAsync(CompletionListener) - Method in interface jakarta.jms.JMSProducer
-
Specifies whether subsequent calls to
sendon thisJMSProducerobject should be synchronous or asynchronous. - setAutoStart(boolean) - Method in interface jakarta.jms.JMSContext
-
Specifies whether the underlying connection used by this
JMSContextwill be started automatically when a consumer is created. - setBoolean(String, boolean) - Method in interface jakarta.jms.MapMessage
-
Sets a
booleanvalue with the specified name into the Map. - setBooleanProperty(String, boolean) - Method in interface jakarta.jms.Message
-
Sets a
booleanproperty value with the specified name into the message. - setByte(String, byte) - Method in interface jakarta.jms.MapMessage
-
Sets a
bytevalue with the specified name into the Map. - setByteProperty(String, byte) - Method in interface jakarta.jms.Message
-
Sets a
byteproperty 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
doublevalue with the specified name into the Map. - setDoubleProperty(String, double) - Method in interface jakarta.jms.Message
-
Sets a
doubleproperty 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
floatvalue with the specified name into the Map. - setFloatProperty(String, float) - Method in interface jakarta.jms.Message
-
Sets a
floatproperty value with the specified name into the message. - setInt(String, int) - Method in interface jakarta.jms.MapMessage
-
Sets an
intvalue with the specified name into the Map. - setIntProperty(String, int) - Method in interface jakarta.jms.Message
-
Sets an
intproperty value with the specified name into the message. - setJMSCorrelationID(String) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducerwill have theirJMSCorrelationIDheader 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
JMSProducerwill have theirJMSCorrelationIDheader 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
DeliveryModevalue 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
Destinationobject 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
JMSProducerwill have theirJMSReplyToheader value set to the specifiedDestinationobject. - setJMSReplyTo(Destination) - Method in interface jakarta.jms.Message
-
Sets the
Destinationobject 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
JMSProducerwill have theirJMSTypeheader 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
longvalue with the specified name into the Map. - setLongProperty(String, long) - Method in interface jakarta.jms.Message
-
Sets a
longproperty 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
JMSProducerwill have the specified property set to the specifiedbooleanvalue. - setProperty(String, byte) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducerwill have the specified property set to the specifiedbytevalue. - setProperty(String, double) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducerwill have the specified property set to the specifieddoublevalue. - setProperty(String, float) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducerwill have the specified property set to the specifiedfloatvalue. - setProperty(String, int) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducerwill have the specified property set to the specifiedintvalue. - setProperty(String, long) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducerwill have the specified property set to the specifiedlongvalue. - setProperty(String, short) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducerwill have the specified property set to the specifiedshortvalue. - setProperty(String, Object) - Method in interface jakarta.jms.JMSProducer
-
Specifies that messages sent using this
JMSProducerwill 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
JMSProducerwill have the specified property set to the specifiedStringvalue. - setShort(String, short) - Method in interface jakarta.jms.MapMessage
-
Sets a
shortvalue with the specified name into the Map. - setShortProperty(String, short) - Method in interface jakarta.jms.Message
-
Sets a
shortproperty value with the specified name into the message. - setString(String, String) - Method in interface jakarta.jms.MapMessage
-
Sets a
Stringvalue with the specified name into the Map. - setStringProperty(String, String) - Method in interface jakarta.jms.Message
-
Sets a
Stringproperty 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'srunmethod 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
StreamMessageobject is used to send a stream of primitive types in the Java programming language.
T
- TemporaryQueue - Interface in jakarta.jms
-
A
TemporaryQueueobject is a uniqueQueueobject created for the duration of aConnection. - TemporaryTopic - Interface in jakarta.jms
-
A
TemporaryTopicobject is a uniqueTopicobject created for the duration of aConnection. - TextMessage - Interface in jakarta.jms
-
A
TextMessageobject is used to send a message containing ajava.lang.String. - Topic - Interface in jakarta.jms
-
A
Topicobject encapsulates a provider-specific topic name. - TopicConnection - Interface in jakarta.jms
-
A
TopicConnectionobject is an active connection to a publish/subscribe Jakarta Messaging provider. - TopicConnectionFactory - Interface in jakarta.jms
-
A client uses a
TopicConnectionFactoryobject to createTopicConnectionobjects with a publish/subscribe Jakarta Messaging provider. - TopicPublisher - Interface in jakarta.jms
-
A client uses a
TopicPublisherobject to publish messages on a topic. - TopicRequestor - Class in jakarta.jms
-
The
TopicRequestorhelper class simplifies making service requests. - TopicRequestor(TopicSession, Topic) - Constructor for class jakarta.jms.TopicRequestor
-
Constructor for the
TopicRequestorclass. - TopicSession - Interface in jakarta.jms
-
A
TopicSessionobject provides methods for creatingTopicPublisher,TopicSubscriber, andTemporaryTopicobjects. - TopicSubscriber - Interface in jakarta.jms
-
A client uses a
TopicSubscriberobject 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
falseif 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
TransactionInProgressExceptionwith the specified reason. - TransactionInProgressException(String, String) - Constructor for exception jakarta.jms.TransactionInProgressException
-
Constructs a
TransactionInProgressExceptionwith the specified reason and error code. - TransactionInProgressException(String, String, Exception) - Constructor for exception jakarta.jms.TransactionInProgressException
-
Constructs a
TransactionInProgressExceptionwith 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
TransactionInProgressRuntimeExceptionwith the specified detail message - TransactionInProgressRuntimeException(String, String) - Constructor for exception jakarta.jms.TransactionInProgressRuntimeException
-
Constructs a
TransactionInProgressRuntimeExceptionwith the specified detail message and error code. - TransactionInProgressRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.TransactionInProgressRuntimeException
-
Constructs a
TransactionInProgressRuntimeExceptionwith the specified detail message, error code and cause - TransactionRolledBackException - Exception in jakarta.jms
-
This exception must be thrown when a call to
Session.commitresults in a rollback of the current transaction. - TransactionRolledBackException(String) - Constructor for exception jakarta.jms.TransactionRolledBackException
-
Constructs a
TransactionRolledBackExceptionwith the specified reason. - TransactionRolledBackException(String, String) - Constructor for exception jakarta.jms.TransactionRolledBackException
-
Constructs a
TransactionRolledBackExceptionwith the specified reason and error code. - TransactionRolledBackException(String, String, Exception) - Constructor for exception jakarta.jms.TransactionRolledBackException
-
Constructs a
TransactionRolledBackExceptionwith the specified reason, error code and linked exception. - TransactionRolledBackRuntimeException - Exception in jakarta.jms
-
This unchecked exception must be thrown when a call to
JMSContext.commitresults in a rollback of the current transaction. - TransactionRolledBackRuntimeException(String) - Constructor for exception jakarta.jms.TransactionRolledBackRuntimeException
-
Constructs a
TransactionRolledBackRuntimeExceptionwith the specified detail message - TransactionRolledBackRuntimeException(String, String) - Constructor for exception jakarta.jms.TransactionRolledBackRuntimeException
-
Constructs a
TransactionRolledBackRuntimeExceptionwith the specified detail message and error code. - TransactionRolledBackRuntimeException(String, String, Throwable) - Constructor for exception jakarta.jms.TransactionRolledBackRuntimeException
-
Constructs a
TransactionRolledBackRuntimeExceptionwith 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.JMSContextobject
V
- value() - Method in annotation type jakarta.jms.JMSConnectionFactory
-
Specifies the JNDI lookup name of a
jakarta.jms.ConnectionFactoryto 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.JMSContextobject.
W
- writeBoolean(boolean) - Method in interface jakarta.jms.BytesMessage
-
Writes a
booleanto the bytes message stream as a 1-byte value. - writeBoolean(boolean) - Method in interface jakarta.jms.StreamMessage
-
Writes a
booleanto the stream message. - writeByte(byte) - Method in interface jakarta.jms.BytesMessage
-
Writes a
byteto the bytes message stream as a 1-byte value. - writeByte(byte) - Method in interface jakarta.jms.StreamMessage
-
Writes a
byteto 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
charto the bytes message stream as a 2-byte value, high byte first. - writeChar(char) - Method in interface jakarta.jms.StreamMessage
-
Writes a
charto the stream message. - writeDouble(double) - Method in interface jakarta.jms.BytesMessage
-
Converts the
doubleargument to alongusing thedoubleToLongBitsmethod in classDouble, and then writes thatlongvalue to the bytes message stream as an 8-byte quantity, high byte first. - writeDouble(double) - Method in interface jakarta.jms.StreamMessage
-
Writes a
doubleto the stream message. - writeFloat(float) - Method in interface jakarta.jms.BytesMessage
-
Converts the
floatargument to anintusing thefloatToIntBitsmethod in classFloat, and then writes thatintvalue to the bytes message stream as a 4-byte quantity, high byte first. - writeFloat(float) - Method in interface jakarta.jms.StreamMessage
-
Writes a
floatto the stream message. - writeInt(int) - Method in interface jakarta.jms.BytesMessage
-
Writes an
intto the bytes message stream as four bytes, high byte first. - writeInt(int) - Method in interface jakarta.jms.StreamMessage
-
Writes an
intto the stream message. - writeLong(long) - Method in interface jakarta.jms.BytesMessage
-
Writes a
longto the bytes message stream as eight bytes, high byte first. - writeLong(long) - Method in interface jakarta.jms.StreamMessage
-
Writes a
longto 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
shortto the bytes message stream as two bytes, high byte first. - writeShort(short) - Method in interface jakarta.jms.StreamMessage
-
Writes a
shortto the stream message. - writeString(String) - Method in interface jakarta.jms.StreamMessage
-
Writes a
Stringto 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
XAConnectioninterface extends the capability ofConnectionby providing anXASession(optional). - XAConnectionFactory - Interface in jakarta.jms
-
The
XAConnectionFactoryinterface is a base interface for theXAQueueConnectionFactoryandXATopicConnectionFactoryinterfaces. - XAJMSContext - Interface in jakarta.jms
-
The
XAJMSContextinterface extends the capability ofJMSContextby adding access to a Jakarta Messaging provider's support for the Java Transaction API (JTA) (optional). - XAQueueConnection - Interface in jakarta.jms
-
An
XAQueueConnectionprovides the same create options asQueueConnection(optional). - XAQueueConnectionFactory - Interface in jakarta.jms
-
An
XAQueueConnectionFactoryprovides the same create options as aQueueConnectionFactory(optional). - XAQueueSession - Interface in jakarta.jms
-
An
XAQueueSessionprovides a regularQueueSession, which can be used to createQueueReceiver,QueueSender, andQueueBrowserobjects (optional). - XASession - Interface in jakarta.jms
-
The
XASessioninterface extends the capability ofSessionby adding access to a Jakarta Messaging provider's support for the Java Transaction API (JTA) (optional). - XATopicConnection - Interface in jakarta.jms
-
An
XATopicConnectionprovides the same create options asTopicConnection(optional). - XATopicConnectionFactory - Interface in jakarta.jms
-
An
XATopicConnectionFactoryprovides the same create options as aTopicConnectionFactory(optional). - XATopicSession - Interface in jakarta.jms
-
An
XATopicSessionprovides a regularTopicSession.
All Classes All Packages