Uses of Package
jakarta.jms
Packages that use jakarta.jms
Package
Description
The Jakarta Messaging API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
-
Classes in jakarta.jms used by jakarta.jmsClassDescriptionA
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.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.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.This is the root class of all checked exceptions in the Jakarta Messaging API.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.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.AMessageListenerobject is used to receive asynchronously delivered messages.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.A client uses aQueueSenderobject to send messages to a queue.AQueueSessionobject provides methods for creatingQueueReceiver,QueueSender,QueueBrowser, andTemporaryQueueobjects.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.ATopicSessionobject provides methods for creatingTopicPublisher,TopicSubscriber, andTemporaryTopicobjects.A client uses aTopicSubscriberobject to receive messages that have been published to a topic.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).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).AnXATopicSessionprovides a regularTopicSession. which can be used to createTopicSubscriberandTopicPublisherobjects (optional).