Package javax.jms
package javax.jms
JMS 1.1 API.
Package Specification
Related Documentation
Package Status
- Spec Defined
-
ClassDescriptionA
BytesMessageobject is used to send a message containing a stream of uninterpreted bytes.AConnectionobject is a client's active connection to its JMS 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 JMS API arePERSISTENTandNON_PERSISTENT.ADestinationobject encapsulates a provider-specific address.If a JMS 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 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 exception must be thrown when a destination either is not understood by a provider or is no longer valid.This exception must be thrown when a JMS client attempts to give a provider a message selector with invalid syntax.This is the root class of all JMS API exceptions.This exception must be thrown when a provider rejects a user name/password submitted by a client.AMapMessageobject is used to send a set of name-value pairs.TheMessageinterface is the root interface of all JMS 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 JMS client attempts to use a data type not supported by a message or attempts to read data in a message as the wrong type.AMessageListenerobject is used to receive asynchronously delivered messages.This exception must be thrown when a JMS client attempts to read a write-only message.This exception must be thrown when a JMS 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 JMS provider.A client uses aQueueConnectionFactoryobject to createQueueConnectionobjects with a point-to-point JMS provider.A client uses aQueueReceiverobject to receive messages that have been delivered to a queue.A queue requestorA 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.AServerSessionobject is an application server object that is used by a server to associate a thread with a JMS 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 JMS provider.A client uses aTopicConnectionFactoryobject to createTopicConnectionobjects with a publish/subscribe JMS provider.A client uses aTopicPublisherobject to publish messages on a topic.Provides a basic request/reply layer ontop of JMS.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 exception must be thrown when a call toSession.commitresults in a rollback of the current transaction.TheXAConnectioninterface extends the capability ofConnectionby providing anXASession(optional).TheXAConnectionFactoryinterface is a base interface for theXAQueueConnectionFactoryandXATopicConnectionFactoryinterfaces.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 JMS 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.