WebSphere MQ JMS classes

Two packages contain the WebSphere MQ classes for Java Message Service that implement the Sun interfaces. Table 35 shows the interfaces implemented by classes in the com.ibm.mq.jms package and Table 36 those implemented by classes in the com.ibm.jms package.

Usually, do not use the implementation classes directly, but instead program to the JMS interfaces. Note that many of the interfaces are not applicable when running a publish/subscribe application on a direct connection to the IBM WebSphere MQ Event Broker broker. Where the names of implementation classes are listed, provider-specific methods are documented in this chapter.

Table 35. Summary of classes in package com.ibm.mq.jms

JMS interface Client or bindings implementation Direct connection to WebSphere MQ Event Broker implementation

Cleanup
Connection MQConnection Y
ConnectionConsumer MQConnectionConsumer
ConnectionFactory MQConnectionFactory
ConnectionMetaData MQConnectionMetaData Y
Destination MQDestination
MessageConsumer MQMessageConsumer
MessageProducer MQMessageProducer
Queue MQQueue
QueueBrowser MQQueueBrowser
QueueConnection MQQueueConnection
QueueConnectionFactory MQQueueConnectionFactory

MQQueueEnumeration
QueueReceiver MQQueueReceiver
QueueSender MQQueueSender
QueueSession MQQueueSession
Session MQSession Y
TemporaryQueue MQTemporaryQueue
TemporaryTopic MQTemporaryTopic Y
Topic MQTopic Y
TopicConnection MQTopicConnection Y
TopicConnectionFactory MQTopicConnectionFactory Y
TopicPublisher MQTopicPublisher Y
TopicSession MQTopicSession Y
TopicSubscriber MQTopicSubscriber Y
XAConnection MQXAConnection
XAConnectionFactory MQXAConnectionFactory
XAQueueConnection MQXAQueueConnection
XAQueueConnectionFactory MQXAQueueConnectionFactory
XAQueueSession MQXAQueueSession
XASession MQXASession
XATopicConnection MQXATopicConnection
XATopicConnectionFactory MQXATopicConnectionFactory
XATopicSession MQXATopicSession

Table 36. Summary of classes in package com.ibm.jms

JMS interface Client or bindings implementation Direct connection to WebSphere MQ Event Broker implementation
BytesMessage Y Y
MapMessage Y Y
Message Y Y
ObjectMessage Y Y
StreamMessage Y Y
TextMessage Y Y

A sample implementation of the following JMS interfaces is supplied in this release of WebSphere MQ classes for Java Message Service.

See Application server sample code.



© IBM Corporation 1997, 2002. All Rights Reserved