+

Search Tips   |   Advanced Search

(ZOS) Configure servant regions for message-driven beans with JCA version 1.5 resource adapters

For any message-driven beans (MDBs) that are not driven by asynchronous messaging or the IMS Connect for Java (IC4J) resource adapter, we must redefine the servant region for those beans connected to Java EE Connector Architecture (JCA) Version 1.5 resource adapters that support inbound message processing.

If the application server is configured with one or more message-driven beans (MDBs) that do not use asynchronous messaging and are bound to a Java EE Connector Architecture (JCA) Version 1.5 resource adapter, and the resource adapter supports inbound message processing, the adapter must be defined to run only a maximum of 1 servant region. If we use the IMS™ Connect for Java (IC4J) resource adapter or an adapter that is driven by asynchronous messaging, we can configure the servant regions through the adapter configuration.

If the application server is configured with one or more message-driven beans (MDBs) that are bound to service integration messaging or WebSphere Q messaging using a resource adapter, which means that the MDBs use activation specifications rather than listener ports, then enable the Control Region Adjunct (CRA) process for the application server. To include starting the CRA process as part of starting an application server, either select Enable JCA based inbound message delivery on the JMS provider settings panel, or use the manageWMQ command.


Tasks

  1. Open the administrative console.

  2. Select Servers > Server Types > WebSphere application servers.

  3. Select the server we want to configure.

  4. Under Server Infrastructure, expand Java and Process Management.

  5. Select Process Definition.

  6. Select Servant.

  7. Under Additional Properties, select Environment Entries. This causes a panel with the heading Application servers > server > Process Definition > Servant > Custom Properties to appear.

  8. Select New. A panel with three General Properties fields appears. This is where we create the environment variable for controlling the number of servant regions.

  9. In the Name field, enter wlm_maximumSRcount.

  10. In the Value field, enter 1. A servant can be configured to a maximum of 1 servant region using the administrative console.

  11. Select Apply.

  • JMS provider settings
  • manageWMQ command