Sun Java Message Service classes and interfaces
The following tables list the JMS objects contained in the package javax.jms. Interfaces marked with * are implemented by applications. Interfaces marked with ** are implemented by appservers.
Interface Description BytesMessage Used to send a message containing a stream of uninterpreted bytes. Connection A client's active connection to its JMS provider. ConnectionConsumer For appservers, a special facility for creating a ConnectionConsumer. ConnectionFactory A set of connection configuration parameters that an administrator has defined. ConnectionMetaData Information that describes the Connection. DeliveryMode Delivery modes supported by JMS. Destination Parent interface for Queue and Topic. ExceptionListener* Used to receive exceptions thrown by Connections asynchronous delivery threads. MapMessage Used to send a set of name-value pairs where names are Strings and values are Java primitive types. Message Root interface of all JMS messages. MessageConsumer Parent interface for all message consumers. MessageListener* Used to receive asynchronously delivered messages. MessageProducer Used by a client to send messages to a destination. ObjectMessage Used to send a message that contains a serializable Java object. Queue A provider-specific queue name. QueueBrowser Used by a client to look at messages on a queue without removing them. QueueConnection An active connection to a JMS point-to-point provider. QueueConnectionFactory Used by a client to create QueueConnections with a JMS point-to-point provider. QueueReceiver Used by a client to receive messages that have been delivered to a queue. QueueSender Used by a client to send messages to a queue. QueueSession Provides methods to create QueueReceivers, QueueSenders, QueueBrowsers and TemporaryQueues. ServerSession ** An object implemented by an appserver. ServerSessionPool ** An object implemented by an appserver to provide a pool of ServerSessions for processing the messages of a ConnectionConsumer. Session A single-threaded context for producing and consuming messages. StreamMessage Used to send a stream of Java primitives. TemporaryQueue A unique queue object created for the duration of a QueueConnection. TemporaryTopic A unique Topic object created for the duration of a TopicConnection. TextMessage Used to send a message containing a java.lang.String. Topic A provider-specific topic name. TopicConnection An active connection to a JMS Publish/Subscribe provider. TopicConnectionFactory Used by a client to create TopicConnections with a JMS Publish/Subscribe provider. TopicPublisher Used by a client to publish messages on a topic. TopicSession Provides methods to create TopicPublishers, TopicSubscribers and TemporaryTopics. TopicSubscriber Used by a client to receive messages that have been published to a topic. XAConnection Extends the capability of Connection by providing an XASession. XAConnectionFactory Used by some appservers to provide support for grouping Java Transaction Service (JTS)-capable resource use into a distributed transaction. XAQueueConnection Provides the same create options as QueueConnection. XAQueueConnectionFactory Provides the same create options as a QueueConnectionFactory. XAQueueSession Provides a regular QueueSession that can be used to create QueueReceivers, QueueSenders and QueueBrowsers. XASession Extends the capability of Session by adding access to a JMS provider's support for the Java Transaction API (JTA). XATopicConnection Provides the same create options as TopicConnection. XATopicConnectionFactory Provides the same create options as TopicConnectionFactory. XATopicSession Provides a regular TopicSession which can be used to create TopicSubscribers and TopicPublishers.
Table 34. Summary of classes in package javax.jms
Class Description QueueRequestor A helper class to simplify making service requests. TopicRequestor A helper class to simplify making service requests.