Package jakarta.jms
package jakarta.jms
-
ClassDescriptionA
BytesMessageobject is used to send a message containing a stream of uninterpreted bytes.ACompletionListeneris implemented by the application and may be specified when a message is sent asynchronously.AConnectionobject is a client's active connection to its Jakarta Messaging provider.For application servers,Connectionobjects provide a special facility for creating aConnectionConsumer(optional).AConnectionFactoryobject encapsulates a set of connection configuration parameters that has been defined by an administrator.AConnectionMetaDataobject provides information describing theConnectionobject.The delivery modes supported by the Jakarta Messaging API arePERSISTENTandNON_PERSISTENT.ADestinationobject encapsulates a provider-specific address.If a Jakarta Messaging provider detects a serious problem with aConnectionobject, it informs theConnectionobject'sExceptionListener, if one has been registered.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.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 aIllegalStateRuntimeExceptionto be thrown.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.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 aInvalidClientIDExceptionto be thrown.This exception must be thrown when a destination either is not understood by a provider or is no longer valid.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 aInvalidDestinationExceptionto be thrown.This exception must be thrown when a Jakarta Messaging client attempts to give a provider a message selector with invalid syntax.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 aInvalidSelectorExceptionto be thrown.This annotation may be used on a field to specify the JNDI lookup name of ajakarta.jms.ConnectionFactoryto be used when injecting ajakarta.jms.JMSContextobject.An application may use this annotation to specify a Jakarta MessagingConnectionFactoryresource that it requires in its operational environment.Specifies one or moreJMSConnectionFactoryDefinitionannotations.A client using the simplified Jakarta Messaging API introduced for Jakarta Messaging 2.0 uses aJMSConsumerobject to receive messages from a queue or topic.AJMSContextis the main interface in the simplified Jakarta Messaging API introduced for Jakarta Messaging 2.0.An application may use this annotation to specify a Jakarta MessagingDestinationresource that it requires in its operational environment.Specifies one or moreJMSDestinationDefinitionannotations.This is the root class of all checked exceptions in the Jakarta Messaging API.This annotation may be used to specify the userName and password to be used when injecting ajakarta.jms.JMSContextobject.AJMSProduceris a simple object used to send messages on behalf of aJMSContext.This is the root class of all unchecked exceptions in the Jakarta Messaging API.This exception must be thrown when a provider rejects a user name/password submitted by a client.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 aJMSSecurityExceptionto be thrown.This annotation may be used to specify the session mode to be used when injecting ajakarta.jms.JMSContextobject.AMapMessageobject is used to send a set of name-value pairs.TheMessageinterface is the root interface of all Jakarta Messaging messages.A client uses aMessageConsumerobject to receive messages from a destination.This exception must be thrown when an unexpected end of stream has been reached when aStreamMessageorBytesMessageis being read.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.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 aMessageFormatExceptionto be thrown.AMessageListenerobject is used to receive asynchronously delivered messages.This exception must be thrown when a Jakarta Messaging client attempts to read a write-only message.This exception must be thrown when a Jakarta Messaging client attempts to write to a read-only message.This unchecked exception must be thrown when a Jakarta Messaging client attempts to write to a read-only message.A client uses aMessageProducerobject to send messages to a destination.AnObjectMessageobject is used to send a message that contains a serializable object in the Java programming language ("Java object").AQueueobject encapsulates a provider-specific queue name.A client uses aQueueBrowserobject to look at messages on a queue without removing them.AQueueConnectionobject is an active connection to a point-to-point Jakarta Messaging provider.A client uses aQueueConnectionFactoryobject to createQueueConnectionobjects with a point-to-point Jakarta Messaging provider.A client uses aQueueReceiverobject to receive messages that have been delivered to a queue.TheQueueRequestorhelper class simplifies making service requests.A client uses aQueueSenderobject to send messages to a queue.AQueueSessionobject provides methods for creatingQueueReceiver,QueueSender,QueueBrowser, andTemporaryQueueobjects.This exception is thrown when a provider is unable to allocate the resources required by a method.This unchecked exception is thrown when a provider is unable to allocate the resources required by a method.AServerSessionobject is an application server object that is used by a server to associate a thread with a Jakarta Messaging session (optional).AServerSessionPoolobject is an object implemented by an application server to provide a pool ofServerSessionobjects for processing the messages of aConnectionConsumer(optional).ASessionobject is a single-threaded context for producing and consuming messages.AStreamMessageobject is used to send a stream of primitive types in the Java programming language.ATemporaryQueueobject is a uniqueQueueobject created for the duration of aConnection.ATemporaryTopicobject is a uniqueTopicobject created for the duration of aConnection.ATextMessageobject is used to send a message containing ajava.lang.String.ATopicobject encapsulates a provider-specific topic name.ATopicConnectionobject is an active connection to a publish/subscribe Jakarta Messaging provider.A client uses aTopicConnectionFactoryobject to createTopicConnectionobjects with a publish/subscribe Jakarta Messaging provider.A client uses aTopicPublisherobject to publish messages on a topic.TheTopicRequestorhelper class simplifies making service requests.ATopicSessionobject provides methods for creatingTopicPublisher,TopicSubscriber, andTemporaryTopicobjects.A client uses aTopicSubscriberobject to receive messages that have been published to a topic.This exception is thrown when an operation is invalid because a transaction is in progress.This unchecked exception is thrown when an operation is invalid because a transaction is in progress.This exception must be thrown when a call toSession.commitresults in a rollback of the current transaction.This unchecked exception must be thrown when a call toJMSContext.commitresults in a rollback of the current transaction.TheXAConnectioninterface extends the capability ofConnectionby providing anXASession(optional).TheXAConnectionFactoryinterface is a base interface for theXAQueueConnectionFactoryandXATopicConnectionFactoryinterfaces.TheXAJMSContextinterface extends the capability ofJMSContextby adding access to a Jakarta Messaging provider's support for the Java Transaction API (JTA) (optional).AnXAQueueConnectionprovides the same create options asQueueConnection(optional).AnXAQueueConnectionFactoryprovides the same create options as aQueueConnectionFactory(optional).AnXAQueueSessionprovides a regularQueueSession, which can be used to createQueueReceiver,QueueSender, andQueueBrowserobjects (optional).TheXASessioninterface extends the capability ofSessionby adding access to a Jakarta Messaging provider's support for the Java Transaction API (JTA) (optional).AnXATopicConnectionprovides the same create options asTopicConnection(optional).AnXATopicConnectionFactoryprovides the same create options as aTopicConnectionFactory(optional).AnXATopicSessionprovides a regularTopicSession. which can be used to createTopicSubscriberandTopicPublisherobjects (optional).