Configuring Inquire Queue Manager/Queue Services
The Inquire Queue Manager/Queue service inquires the properties of the queue manager and the properties of the first queue specified in the connection. For more information about Inquire Queue Manager/Queue services, see
Inquire Queue Manager/Queue
Services. You configure
WebSphere MQ Adapter services using the
Designer.
To configure an Inquire Queue Manager/Queue service
2. Start Designer.
3. Using Designer, perform the following:
a. Right-click the package in which the service should be contained and select New > Adapter Service.
b. Select the parent namespace and type a name for the adapter service.
c. Click Next.
4. Select WebSphere MQ Adapter as the adapter type and click Next.
5. Select the appropriate Adapter Connection Name and click Next.
Important:
If you are using the adapter with Integration Server 8.0 SP1 or earlier, adapter services cannot use connections that are also used for adapter listeners.
6. From the list of available templates, select the Inquire Queue Manager/Queue Service template and do the following:
Select a package and folder to contain the service, type a unique name for the service, and click Finish.
The adapter service editor for the Inquire Queue Manager Service appears. You can select the Adapter Settings tab at any time to confirm adapter service properties such as Adapter Name, Adapter Connection Name, and Adapter Service Template, as necessary.
7. Select the Inquire Queue Manager Service tab to set the following field:
Field | Description/Action |
Throw Exception on Failure? | Select whether the service throws an exception on failure: Checked Throws an exception when the adapter service returns error codes. Unchecked Returns reasonCode, conditionCode and errorMsg in the output signature. Default: Checked |
8. Select the Queue Manager Properties tab to specify the queue manager properties to be queried.
Use the following icons to manage the rows on the Queue Manager Properties tab:
To select a Queue Manager property, click the
icon (or the Fill in all rows to the
icon).
To change the order of the selected properties, use the
or
icons.
To delete any of the selected properties, use the
icon.
9. To specify the queue properties to be queried, select the Queue Properties tab and then follow the same instructions to select, change, or delete the desired properties as specified in step 8.
The properties that you select from the Queue Manager Properties and Queue Properties appear on the Input/Output tab in the Output signature for this adapter service.
The queue name appears on the Input/Output tab in the Input signature for this adapter service.
You can override the queue name by specifying the queue name in the service's input signature.
For more information about queue properties and queue manager properties, see WebSphere MQ Application Programming Reference (SC34-6596), chapter 42, and chapter 45 respectively.
When using Designer, Designer contains only the Adapter Settings and Input/Output tabs. The information from the Audit and Permissions tabs appears in the Properties panel, and the information from the Results tab appears in the Service Results panel in Designer. For more information, see the webMethods Service Development Help for your release.
10. From the File menu, select Save.