A
static meta-object is used to provide the adapter with some basic conversion
properties.
Table 16. Static configuration meta-object, MO_FrontArena_DefaultConfig:
Property name | Application specific information |
---|---|
Default | OutputQueue=queue://DENALI/FRONTARENA.OUT? targetClient=1;ResponseTimeout=60000; |
FA_trade_Create | InputFormat=INSERT; |
FA_trade_Update | InputFormat=UPDATE; |
FA_trade_Delete | InputFormat=DELETE; |
FA_trade_Retrieve | InputFormat=SELECT; |
The static meta-object consists of a list of conversion properties defined for different business objects. To define the conversion properties for a business object, create a string attribute and name it using the syntax <business object name>_<verb>. For example, to define the conversion properties for an FA_trade object with the verb Create, create an attribute named FA_trade_Create.
In the application-specific information of the attribute, you can specify the actual conversion properties. Additionally, a reserved attribute named Default can be defined in the meta-object. When this attribute is present, its properties act as default values for all business object conversion properties.
Seen above, the example meta-object defines the conversion properties for the business object FA_trade and all supported verbs. For additional business object and verb combinations to be supported, the appropriate entries must be added.
The Default property contains the name of the WebSphere MQ queue, OutputQueue, to be used for sending service requests to the bridge component of the adapter. The queue name must be adapted to the customer's setup.
The queue name,targetClient=1, must be appended to the queue name in any case, however. This ensures that the messages sent to the bridge component of the adapter have the format expected by the FRONT ARENA application.
The parameter ResponseTimeout indicates the period of time, in milliseconds, to wait before timing out when waiting for the response to a service request. The connector returns SUCCESS immediately without waiting for a response if this is left undefined or with a value less than zero. This parameter must be set if service requests are to be processed in a synchronous fashion.
For each additional business object and verb combination to be supported, a corresponding new property must be added. Only the parameter InputFormat must be specified. This parameter is used to map the FRONT ARENA verbs INSERT, UPDATE, DELETE, and SELECT. These verbs are stored in the FORMAT field of the messages received from the bridge to the WBI verbs Create, Update, Delete, and Select.
For more details on these parameters, see the documentation for the Adapter for WebSphere MQ User Guide.