The main concepts of the JMS API (interfaces and classes) are included in the javax.jms package. JMS interfaces are based on a set of common messaging concepts. Both the PTP and the Pub/Sub JMS messaging models define a customized set of interfaces for these common (patent) concepts. Table 13.1 summarizes the JMS common interfaces for both the PTP model and Pub/Sub model interfaces.
|JMS Parent Interface||PTP Specific||Pub/Sub Specific|
|MessageConsumer||QueueReceiver, QueueBrowser ...|