JMS interfaces

WebSphere Application Server supports applications that use JMS 1.1 domain-independent interfaces and domain-specific interfaces as provided for JMS 1.0.2 in WebSphere Application Server.

WebSphere Application Server supports applications that use JMS 1.1 domain-independent interfaces (referred to as the "common interfaces" in the JMS specification). With JMS 1.1, the preferred approach for implementing applications is to use the common interfaces. The JMS 1.1 common interfaces provide a simpler programming model than domain-specific interfaces. Also, applications can create both queues and topics in the same session and coordinate their use in the same transaction.

The common interfaces are also parents of domain-specific interfaces. These domain-specific interfaces (provided for JMS 1.0.2 in WebSphere Application Server Version 5) are supported only to provide backward compatibility for applications that have already been implemented to use those interfaces.

Table 1. The Point-to-Point and Publish/Subscribe versions of JMS common interfaces
JMS common interfaces Point-to-Point interfaces Publish/Subscribe interfaces
ConnectionFactory QueueConnectionFactory TopicConnectionFactory
Connection QueueConnection TopicConnection
Destination Queue Topic
Session QueueSession, TopicSession,
MessageProducer QueueSender TopicPublisher
MessageConsumer

QueueReceiver,
QueueBrowser

TopicSubscriber

For more information about JMS interfaces, see the JMS documentation at http://java.sun.com/products/jms/docs.html.




Related tasks
Programming to use message-driven beans
Programming to use JMS and messaging directly
Related reference
JMS and WebSphere MQ message structures
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 6:03:36 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-iseries&topic=rmj_interfaces
File name: rmj_interfaces.html