Before you begin
Ensure that your WebSphere MQ queue manager contains queues. If you want
to create a server connection to a queue manager by specifying it by name only, WebSphere MQ must be installed on the same machine as IBM® Integration Bus.
About this task
You can configure each MQ Service as a request-response operation, or a one-way operation. You can create an MQ Service for each queue manager.
Procedure
To open the MQ Service editor,
complete the following steps:
- Click . The Create
New MQ Service window opens.
- In the Create New MQ Service window,
select a name for the library from the Library menu,
or click New to create a library.
- Type a name for your Service in the Service
Name field, and click Finish. The MQ Service editor opens.
Complete the MQ Service editor panes:
- Connect: Complete the fields. Optionally, click Test Connection.
- Select Resources: Select either the Select resources for Request-Response operation, or Select resources for One-Way operation. Specify the filter text, decide whether to include System queues, Dynamic queues, or both. Optionally, click Refresh queues to view any queues that you added since you set the parameters on the Connect pane. All existing queues are displayed.
- From the list of existing queues, select the queue name that you want to use
for the Request queue and click Select Request. If you
selected Select resources for Request-Response operation,
repeat this step for the Response queue.
- Optional: MQ Configuration: Complete the fields in the Request Message Headers and Response Message Headers panes to configure the MQ headers.
- Service Interface: Configure your interface and advanced binding parameters.
- Summary: Review the service structure and the list of files that are created when the MQ Service is saved.
Results
- An MQ Service
definition is created, and
is listed in the Application Development view.
- The WSDL file, which describes an MQ Service,
is saved in the root of the project in which you create the MQ Service
definition.
What to do next
- Optionally, use the Checklist on the left side of the MQ Service editor to edit the MQ Service
definition.
- In the Message Flow editor, use the MQ Service
definition to
create and configure MQ nodes. See Configuring an MQ node by using an MQ Service.