+

Search Tips   |   Advanced Search

Generic JMS connection factory settings for application clients

Use this panel to view or change the configuration properties of the selected Java Message Service (JMS) connection factory for use with the associated JMS provider. These configuration properties control how connections are created between the JMS provider and the messaging system that it uses.

To view this Application Client Resource Configuration Tool (ACRCT) page, click File > Open. After you browse for an EAR file, click Open. Expand the selected JAR file > Messaging Providers > new_JMS_Provider_instance. Right-click Connection Factories, and click New. The following fields are displayed on the General tab.

A Java Message Service (JMS) connection factory creates connections to JMS destinations. The JMS connection factory is created by the associated JMS provider. A JMS connection factory for a generic JMS provider (other than the internal default messaging provider or IBM MQ as a JMS provider) has the following properties:


Name

The name by which this JMS connection factory is known for administrative purposes within IBM WebSphere Application Server. The name must be unique within the associated JMS provider.

Information Value
Data type String


Description

A description of this connection factory for administrative purposes within IBM WAS.

Information Value
Data type String
Default Null


JNDI Name

The application client run time uses this field to retrieve configuration information.


User ID

Indicates the user ID used with the Password property, for authentication if the calling application does not provide a userid and password explicitly.

If we specify a value for the User ID property, we must also specify a value for the Password property.

The connection factory User ID and Password properties are used if the calling application does not provide a userid and password explicitly; for example, if the calling application uses the method createQueueConnection(). The JMS client flows the userid and password to the JMS server.

Information Value
Data type String


Password

The password used with the User ID property for authentication if the calling application does not provide a userid and password explicitly.

If we specify a value for the User ID property, we must also specify a value for the Password property.

Information Value
Data type String
Default Null


Re-Enter Password

Confirms the password entered in the Password field.


External JNDI Name

The JNDI name used to bind the queue into the application server name space.

As a convention, use the fully qualified JNDI name, for example, jms/Name, where Name is the logical name of the resource.

This name is used to link the platform binding information. The binding associates the resources defined by the deployment descriptor of the module to the actual (physical) resources bound into JNDI API by the platform.

Information Value
Data type String


Connection Type

Whether this JMS destination is a queue (for point-to-point) or topic (for publication or subscription).

Select one of the following options:

Queue

A JMS queue destination for point-to-point messaging.

Topic

A JMS topic destination for publish subscribe messaging.


Custom Properties

Specifies name-value pairs for setting additional properties on the object created at run time for this resource.

We must enter a name that is a public property on the object and a value that can be converted from a string to the type required by the set method of the property. The acceptable properties and values depend on the object created. Refer to the object documentation for a list of valid properties and values.

  • Use application clients
  • Configure new JMS providers with the Application Client Resource Configuration Tool