JCA 1.5 message listeners

JCA 1.5 connectors can include inbound resource adapters, which are also called message listeners. You can receive messages through a connector by mapping its inbound resource adapter to a message-driven bean (MDB).

The Java Message Service (JMS) defines MDBs that listen for JMS messages. EJB 2.1 adds support for generalized MDBs, which can listen on a JCA 1.5 inbound resource adapter for any message type. Inbound resource adapters also enable MDBs to listen for messages from third-party JMS providers. See “Message-driven beans” in Chapter 2, “Setting up the Message Service,” in the EAServer Java Message Service User’s Guide.

Each JCA message listener is defined by its message listener type. You can configure a message listener type, then assign it to a message listener.

StepsConfiguring JCA 1.5 message listener types

  1. Expand these folders: Connector Modules | Connector | Message Listener Types, where Connector is the name of the connector.

  2. Select the message listener type, and configure the properties that display on: