Package javax.jms

Interface Summary
BytesMessage A BytesMessage is used to send a message containing a stream of uninterpreted bytes.
Connection A JMS Connection is a client's active connection to its JMS provider.
ConnectionConsumer For application servers, Connections provide a special facility for creating a ConnectionConsumer (optional).
ConnectionFactory A ConnectionFactory encapsulates a set of connection configuration parameters that has been defined by an administrator.
ConnectionMetaData ConnectionMetaData provides information describing the Connection.
DeliveryMode Delivery modes supported by JMS.
Destination The Destination object encapsulates provider-specific addresses since JMS does not define a standard address syntax, Although a standard address syntax was considered, it was decided that the differences in address semantics between existing MOM products was too wide to bridge with a single syntax.
ExceptionListener If a JMS provider detects a serious problem with a Connection it will inform the Connection's ExceptionListener if one has been registered.
MapMessage A MapMessage is used to send a set of name-value pairs where names are Strings and values are Java primitive types.
Message The Message interface is the root interface of all JMS messages.
MessageConsumer A client uses a message consumer to receive messages from a Destination.
MessageListener A MessageListener is used to receive asynchronously delivered messages.
MessageProducer A client uses a message producer to send messages to a Destination.
ObjectMessage An ObjectMessage is used to send a message that contains a serializable Java object.
Queue A Queue object encapsulates a provider-specific queue name.
QueueBrowser A client uses a QueueBrowser to look at messages on a queue without removing them.
QueueConnection A QueueConnection is an active connection to a JMS PTP provider.
QueueConnectionFactory A client uses a QueueConnectionFactory to create QueueConnections with a JMS PTP provider.
QueueReceiver A client uses a QueueReceiver for receiving messages that have been delivered to a queue.
QueueSender A client uses a QueueSender to send messages to a queue.
QueueSession A QueueSession provides methods for creating QueueReceiver's, QueueSender's, QueueBrowser's and TemporaryQueues.
ServerSession A ServerSession is an application server object that is used by a server to associate a thread with a JMS session (optional).
ServerSessionPool A ServerSessionPool is an object implemented by an application server to provide a pool of ServerSessions for processing the messages of a ConnectionConsumer (optional).
Session A JMS Session is a single threaded context for producing and consuming messages.
StreamMessage A StreamMessage is used to send a stream of Java primitives.
TemporaryQueue A TemporaryQueue is a unique Queue object created for the duration of a QueueConnection.
TemporaryTopic A TemporaryTopic is a unique Topic object created for the duration of a TopicConnection.
TextMessage A TextMessage is used to send a message containing a java.lang.String.
Topic A Topic object encapsulates a provider-specific topic name.
TopicConnection A TopicConnection is an active connection to a JMS Pub/Sub provider.
TopicConnectionFactory A client uses a TopicConnectionFactory to create TopicConnections with a JMS Pub/Sub provider.
TopicPublisher A client uses a TopicPublisher for publishing messages on a topic.
TopicSession A TopicSession provides methods for creating TopicPublisher's, TopicSubscriber's and TemporaryTopics.
TopicSubscriber A client uses a TopicSubscriber for receiving messages that have been published to a topic.
XAConnection XAConnection extends the capability of Connection by providing an XASession (optional).
XAConnectionFactory Some application servers provide support for grouping JTS capable resource use into a distributed transaction (optional).
XAQueueConnection XAQueueConnection provides the same create options as QueueConnection (optional).
XAQueueConnectionFactory An XAQueueConnectionFactory provides the same create options as a QueueConnectionFactory (optional).
XAQueueSession An XAQueueSession provides a regular QueueSession which can be used to create QueueReceivers, QueueSenders and QueueBrowsers (optional).
XASession XASession extends the capability of Session by adding access to a JMS provider's support for JTA (optional).
XATopicConnection An XATopicConnection provides the same create options as TopicConnection (optional).
XATopicConnectionFactory An XATopicConnectionFactory provides the same create options as TopicConnectionFactory (optional).
XATopicSession An XATopicSession provides a regular TopicSession which can be used to create TopicSubscribers and TopicPublishers (optional).
 

Class Summary
QueueRequestor JMS provides a QueueRequestor helper class to simplify making service requests.
TopicRequestor JMS provides a TopicRequestor helper class to simplify making service requests.
 

Exception Summary
IllegalStateException 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.
InvalidClientIDException 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.
InvalidDestinationException This exception must be thrown when a destination is either not understood by a provider or is no longer valid.
InvalidSelectorException This exception must be thrown when a JMS client attempts to give a provider a message selector with invalid syntax.
JMSException This is the root class of all JMS exceptions.
JMSSecurityException This exception must be thrown when a provider rejects a user name/password submitted by a client.
MessageEOFException This exception must be thrown when an unexpected end of stream has been reached when a StreamMessage or BytesMessage is being read.
MessageFormatException 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.
MessageNotReadableException This exception must be thrown when a JMS client attempts to read a write-only message.
MessageNotWriteableException This exception must be thrown when a JMS client attempts to write to a read-only message.
ResourceAllocationException This exception is thrown when a provider is unable to allocate the resources required by a method.
TransactionInProgressException This exception is thrown when an operation is invalid because a transaction is in progress.
TransactionRolledBackException This exception must be thrown when a call to Session.commit results in a rollback of the current transaction.