Common configuration tasks

After installation, you must configure the connector before starting it. This section provides an overview of some of the configuration and startup tasks that most developers will need to perform.

Installing the adapter

See Installing and configuring the adapter for a description of what and where you must install.

Configuring connector properties

Connectors have two types of configuration properties: standard configuration properties and connector-specific configuration properties. Some of these properties have default values that you do not need to change. You may need to set the values of some of these properties before running the connector. For more information, see Installing and configuring the adapter

When you configure connector properties for the adapter for WebSphere MQ, make sure that:

Configuring the connector to send requests without notification

To configure the connector to send requests without notification (the default asynchronous mode, also known as "fire and forget"):

Configuring the connector to send requests and get notifications

To configure the connector to send requests and get notifications (synchronous event handling):

Configuring a static meta-object

A static meta-object contains application-specific information that you specify about business objects and how the connector processes them. A static meta-object provides the connector with all the information it needs to process a business object when the connector is started.

If you know at implementation time which queues that different business objects must be sent to, use a static meta-object. To create and configure this object:

Configuring a dynamic meta-object

If the connector is required to process a business object differently depending on the scenario, use a dynamic meta-object. This is a child object that you add to the business object. The dynamic meta-object tells the connector (at run-time) how to process a request. Unlike the static meta-object, which provides the connector with all of the information it needs to process a business object, a dynamic meta-object provides only those additional pieces of logic required to handle the processing for a specific scenario. To create and configure a dynamic meta-object:

The connector will check for the dynamic meta-object and use its information to determine how to process the business object. For more information, see Overview of creating dynamic child meta-objects.

Configuring MQMD formats

MQMDs are message descriptors. MQMDs contain the control information accompanying application data when a message travels from one application to another. You must specify a value for the MQMD attribute OutputFormat in either your static or dynamic meta-object. For more information, see "Create, update, and delete".

Configuring queue URIs

To configure queues for use with the A dapter for WebSphere MQ:

Configuring data handlers

There are two ways to configure a data handler:

Modifying the startup script

See Installing and configuring the adapter for a description of how to start the connectors. You must configure connector properties before startup. You must also modify the startup file:

Copyright IBM Corp. 1997, 2004