Package javax.jms

This is the basic contract for the Java Message Service - what JBossMQ offers and clients can expect.

See:
          Description

Interface Summary
BytesMessage (src) A BytesMessage object is used to send a message containing a stream of uninterpreted bytes.
Connection (src) A Connection object is a client's active connection to its JMS provider.
ConnectionConsumer (src) For application servers, Connection objects provide a special facility for creating a ConnectionConsumer (optional).
ConnectionFactory (src) A ConnectionFactory object encapsulates a set of connection configuration parameters that has been defined by an administrator.
ConnectionMetaData (src) A ConnectionMetaData object provides information describing the Connection object.
DeliveryMode (src) The delivery modes supported by the JMS API are PERSISTENT and NON_PERSISTENT.
Destination (src) A Destination object encapsulates a provider-specific address.
ExceptionListener (src) If a JMS provider detects a serious problem with a Connection object, it informs the Connection object's ExceptionListener, if one has been registered.
MapMessage (src) A MapMessage object is used to send a set of name-value pairs.
Message (src) The Message interface is the root interface of all JMS messages.
MessageConsumer (src) A client uses a MessageConsumer object to receive messages from a destination.
MessageListener (src) A MessageListener object is used to receive asynchronously delivered messages.
MessageProducer (src) A client uses a MessageProducer object to send messages to a destination.
ObjectMessage (src) An ObjectMessage object is used to send a message that contains a serializable object in the Java programming language ("Java object").
Queue (src) A Queue object encapsulates a provider-specific queue name.
QueueBrowser (src) A client uses a QueueBrowser object to look at messages on a queue without removing them.
QueueConnection (src) A QueueConnection object is an active connection to a point-to-point JMS provider.
QueueConnectionFactory (src) A client uses a QueueConnectionFactory object to create QueueConnection objects with a point-to-point JMS provider.
QueueReceiver (src) A client uses a QueueReceiver object to receive messages that have been delivered to a queue.
QueueSender (src) A client uses a QueueSender object to send messages to a queue.
QueueSession (src) A QueueSession object provides methods for creating QueueReceiver, QueueSender, QueueBrowser, and TemporaryQueue objects.
ServerSession (src) A ServerSession object is an application server object that is used by a server to associate a thread with a JMS session (optional).
ServerSessionPool (src) A ServerSessionPool object is an object implemented by an application server to provide a pool of ServerSession objects for processing the messages of a ConnectionConsumer (optional).
Session (src) A Session object is a single-threaded context for producing and consuming messages.
StreamMessage (src) A StreamMessage object is used to send a stream of primitive types in the Java programming language.
TemporaryQueue (src) A TemporaryQueue object is a unique Queue object created for the duration of a Connection.
TemporaryTopic (src) A TemporaryTopic object is a unique Topic object created for the duration of a Connection.
TextMessage (src) A TextMessage object is used to send a message containing a java.lang.String.
Topic (src) A Topic object encapsulates a provider-specific topic name.
TopicConnection (src) A TopicConnection object is an active connection to a publish/subscribe JMS provider.
TopicConnectionFactory (src) A client uses a TopicConnectionFactory object to create TopicConnection objects with a publish/subscribe JMS provider.
TopicPublisher (src) A client uses a TopicPublisher object to publish messages on a topic.
TopicSession (src) A TopicSession object provides methods for creating TopicPublisher, TopicSubscriber, and TemporaryTopic objects.
TopicSubscriber (src) A client uses a TopicSubscriber object to receive messages that have been published to a topic.
XAConnection (src) The XAConnection interface extends the capability of Connection by providing an XASession (optional).
XAConnectionFactory (src) The XAConnectionFactory interface is a base interface for the XAQueueConnectionFactory and XATopicConnectionFactory interfaces.
XAQueueConnection (src) An XAQueueConnection provides the same create options as QueueConnection (optional).
XAQueueConnectionFactory (src) An XAQueueConnectionFactory provides the same create options as a QueueConnectionFactory (optional).
XAQueueSession (src) An XAQueueSession provides a regular QueueSession, which can be used to create QueueReceiver, QueueSender, and QueueBrowser objects (optional).
XASession (src) The XASession interface extends the capability of Session by adding access to a JMS provider's support for the Java Transaction API (JTA) (optional).
XATopicConnection (src) An XATopicConnection provides the same create options as TopicConnection (optional).
XATopicConnectionFactory (src) An XATopicConnectionFactory provides the same create options as a TopicConnectionFactory (optional).
XATopicSession (src) An XATopicSession provides a regular TopicSession.
 

Class Summary
QueueRequestor (src) A queue requestor
TopicRequestor (src) Provides a basic request/reply layer ontop of JMS.
 

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

Package javax.jms Description

This is the basic contract for the Java Message Service - what JBossMQ offers and clients can expect.