Configure a J2C activation specification

 

+

Search Tips   |   Advanced Search

 

Overview

Use this task to configure a J2C activation specification used to deploy message-driven beans with an external resource adapter.

Use this task if you want to use a message-driven bean as a listener on a JCA 1.5 resource adapter other than the default messaging JMS provider.

You can create or modify a J2C activation specification under an installed resource adapter at the cell, node, or server scope. You can select the message listener type from those provided by the given resource adapter.

Configuring a J2C activation specification offers two distinct advantages:

The following guidelines show which scenarios use activation specifications or listener ports:

To configure a J2C activation specification for an external resource adapter, use the console to complete the following steps. This task contains an optional step for you to create a new activation specification.

 

Procedure

  1. Display the external resource adapter. In the navigation pane, click...

    Resources | Resource Adapters | adapter_name

    This displays in the content pane a table of properties for the external resource adapter, including links to the types of J2C resources that it provides.

  2. Change the Scope setting to the scope level at which the activation specification is to be visible to applications, according to your needs. (Optional)

  3. In the content pane, under the Activation specifications heading, click J2C Activation Specifications.

    This lists any existing J2C activation specifications for the external resource adapter in the content pane.

  4. Display the properties of the J2C activation specification.

    To display an existing J2C activation specification, click one of the names listed. Alternatively, if you want to create a new J2C activation specification, click New, then specify the following required properties:

    Name

    Type the name by which the activation specification is known for administrative purposes. The JNDI name is automatically generated based on the value for the Name property.

    Message listener type

    Select the message listener type that this activation specification instance should support. This list is based on the deployment descriptor of the external resource adapter.

    Depending on the external resource adapter, there can be additional required properties that need to be supplied. To provide values for these properties, click Custom properties. When creating a new activation specification, you may need to click Apply before this custom property selection is available.

  5. Specify properties for the activation specification, according to your needs .

  6. Click OK.

  7. Save your changes to the master configuration.



J2C Activation Specifications collection

 

Related concepts

J2C activation specification configuration and use

 

Related tasks


Administering listener ports and activation specifications for message-driven beans