Home » jboss-javaee-sources » javax » jms »

javax.jms

Interfaces:

BytesMessage   A BytesMessage object is used to send a message containing a stream of uninterpreted bytes.  code | html
Connection   A Connection object is a client's active connection to its JMS provider.  code | html
ConnectionConsumer   For application servers, Connection objects provide a special facility for creating a ConnectionConsumer (optional).  code | html
ConnectionFactory   A ConnectionFactory object encapsulates a set of connection configuration parameters that has been defined by an administrator.  code | html
ConnectionMetaData   A ConnectionMetaData object provides information describing the Connection object.  code | html
DeliveryMode   The delivery modes supported by the JMS API are PERSISTENT and NON_PERSISTENT code | html
Destination   A Destination object encapsulates a provider-specific address.  code | html
ExceptionListener   If a JMS provider detects a serious problem with a Connection object, it informs the Connection object's ExceptionListener, if one has been registered.  code | html
MapMessage   A MapMessage object is used to send a set of name-value pairs.  code | html
Message   The Message interface is the root interface of all JMS messages.  code | html
MessageConsumer   A client uses a MessageConsumer object to receive messages from a destination.  code | html
MessageListener   A MessageListener object is used to receive asynchronously delivered messages.  code | html
MessageProducer   A client uses a MessageProducer object to send messages to a destination.  code | html
ObjectMessage   An ObjectMessage object is used to send a message that contains a serializable object in the Java programming language ("Java object").  code | html
Queue   A Queue object encapsulates a provider-specific queue name.  code | html
QueueBrowser   A client uses a QueueBrowser object to look at messages on a queue without removing them.  code | html
QueueConnection   A QueueConnection object is an active connection to a point-to-point JMS provider.  code | html
QueueConnectionFactory   A client uses a QueueConnectionFactory object to create QueueConnection objects with a point-to-point JMS provider.  code | html
QueueReceiver   A client uses a QueueReceiver object to receive messages that have been delivered to a queue.  code | html
QueueSender   A client uses a QueueSender object to send messages to a queue.  code | html
QueueSession   A QueueSession object provides methods for creating QueueReceiver, QueueSender, QueueBrowser, and TemporaryQueue objects.  code | html
ServerSession   A ServerSession object is an application server object that is used by a server to associate a thread with a JMS session (optional).  code | html
ServerSessionPool   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).  code | html
Session  

A Session object is a single-threaded context for producing and consuming messages. 

code | html
StreamMessage   A StreamMessage object is used to send a stream of primitive types in the Java programming language.  code | html
TemporaryQueue   A TemporaryQueue object is a unique Queue object created for the duration of a Connection code | html
TemporaryTopic   A TemporaryTopic object is a unique Topic object created for the duration of a Connection code | html
TextMessage   A TextMessage object is used to send a message containing a java.lang.String code | html
Topic   A Topic object encapsulates a provider-specific topic name.  code | html
TopicConnection   A TopicConnection object is an active connection to a publish/subscribe JMS provider.  code | html
TopicConnectionFactory   A client uses a TopicConnectionFactory object to create TopicConnection objects with a publish/subscribe JMS provider.  code | html
TopicPublisher   A client uses a TopicPublisher object to publish messages on a topic.  code | html
TopicSession   A TopicSession object provides methods for creating TopicPublisher, TopicSubscriber, and TemporaryTopic objects.  code | html
TopicSubscriber   A client uses a TopicSubscriber object to receive messages that have been published to a topic.  code | html
XAConnection   The XAConnection interface extends the capability of Connection by providing an XASession (optional).  code | html
XAConnectionFactory   The XAConnectionFactory interface is a base interface for the XAQueueConnectionFactory and XATopicConnectionFactory interfaces.  code | html
XAQueueConnection   An XAQueueConnection provides the same create options as QueueConnection (optional).  code | html
XAQueueConnectionFactory   An XAQueueConnectionFactory provides the same create options as a QueueConnectionFactory (optional).  code | html
XAQueueSession   An XAQueueSession provides a regular QueueSession, which can be used to create QueueReceiver, QueueSender, and QueueBrowser objects (optional).  code | html
XASession   The XASession interface extends the capability of Session by adding access to a JMS provider's support for the Java Transaction API (JTA) (optional).  code | html
XATopicConnection   An XATopicConnection provides the same create options as TopicConnection (optional).  code | html
XATopicConnectionFactory   An XATopicConnectionFactory provides the same create options as a TopicConnectionFactory (optional).  code | html
XATopicSession   An XATopicSession provides a regular TopicSession code | html

Classes:

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. 

code | html
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. 

code | html
InvalidDestinationException  

This exception must be thrown when a destination either is not understood by a provider or is no longer valid. 

code | html
InvalidSelectorException  

This exception must be thrown when a JMS client attempts to give a provider a message selector with invalid syntax. 

code | html
JMSException  

This is the root class of all JMS API exceptions. 

code | html
JMSSecurityException  

This exception must be thrown when a provider rejects a user name/password submitted by a client. 

code | html
MessageEOFException  

This exception must be thrown when an unexpected end of stream has been reached when a StreamMessage or BytesMessage is being read. 

code | html
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. 

code | html
MessageNotReadableException  

This exception must be thrown when a JMS client attempts to read a write-only message. 

code | html
MessageNotWriteableException  

This exception must be thrown when a JMS client attempts to write to a read-only message. 

code | html
QueueRequestor   A queue requestor  code | html
ResourceAllocationException  

This exception is thrown when a provider is unable to allocate the resources required by a method. 

code | html
TopicRequestor   Provides a basic request/reply layer ontop of JMS.  code | html
TransactionInProgressException  

This exception is thrown when an operation is invalid because a transaction is in progress. 

code | html
TransactionRolledBackException  

This exception must be thrown when a call to Session.commit results in a rollback of the current transaction. 

code | html

All Test Cases:

IllegalStateExceptionTest     code | html
InvalidClientIDExceptionTest     code | html
InvalidDestinationExceptionTest     code | html
InvalidSelectorExceptionTest     code | html
JMSExceptionTest     code | html
JMSSecurityExceptionTest     code | html
MessageEOFExceptionTest     code | html
MessageFormatExceptionTest     code | html
MessageNotReadableExceptionTest     code | html
MessageNotWriteableExceptionTest     code | html
QueueRequestorTest     code | html
ResourceAllocationExceptionTest     code | html
TopicRequestorTest     code | html
TransactionInProgressExceptionTest     code | html
TransactionRolledBackExceptionTest     code | html