Configuring WebSphere MQ server
On the WebSphere MQ server machine, you must configure
the following:
- a Queue Manager
- a Queue
- If you are working in a distributed environment: a Server Connection
Channel
Configuring a Queue manager
Follow these steps to configure a queue manager.
- In the WebSphere MQ client, navigate to the Create Queue Manager-Step
1 page. Set the fields as shown:
Field |
Setting |
Queue Manager |
psQM |
Dead Letter Queue |
SYSTEM.DEAD.LETTER.QUEUE |
Max Handle Limit |
256 |
Trigger Interval |
999999999 |
Uncommitted Mssgs |
1000 |
- Click Next to open the Create Queue Manager (Step 2) page. page. Set
the fields as shown:
Field |
Setting |
Use Circular Logging |
Selected |
Log Path |
C:\program files\ibm\websphere mq\log |
Log File Size |
256 |
Log Primary Files |
3 |
Log Secondary Files |
2 |
- Click Nextto open the Create Queue Manager (Step 3) page.
- Select the Start Queue Manager check box
- Click Nextto open the Create Queue Manager (Step 4) page.
- Select the Create listener configured for TCP/IP check box.
- At the Listen on port number: field, enter
81
.
- Click
Finish.
Configuring a queue
Follow these steps to configure a queue.
- In the MQ client, navigate to Local Queue.
- On the general tab, select the following settings for the fields
shown:
Field |
Setting |
Queue name |
Name of the Queue you are creating, for example,
psQ |
Description |
Websphere Default Local Queue |
Put Messages |
Allowed |
Get Messages |
Allowed |
Default Priority |
0 |
Default Persistence |
Not Persistent |
Scope |
Queue Manager |
Usage |
Normal |
- Click OK.
- On the Extended tab, select the following settings for the fields
shown:
Field |
Setting |
Maximum Queue Length |
5000 |
Maximum Message Length |
4194304 |
Shareability |
Shareable |
Default Input Open Option |
Shared |
Message delivery Sequence |
Priority |
Retention Level |
999999999 |
Distribution Lists |
Disabled |
- Click OK.
- On the Cluster tab, set the following:
- Select Not Shared in Cluster.
- Select On Open at the Default Bind: field.
- Click OK.
- On the Events tab, select the following settings for the fields
shown:
Field |
Setting |
Maximum Depth Event |
Extended |
High Depth Event |
Disabled |
High Depth Limit |
80 |
Low Depth Event |
Disabled |
Low Depth Limit |
20 |
Service Interval Event |
None |
Service Interval |
999999999 |
- Click OK.
- On the Storage tab, set the following:
- Set Backout Threshold to 0.
- Set Harden Get Backout to Harden.
- Click OK.
Configuring a server channel
If you are working in a distributed environment, you must
configure a server channel. If you are not working in a distributed
environment, you do not need to complete this task.
- Navigate to the Create Server Connection page.
- On the General tab, set the following:
- Enter a name for the Channel Name.
- Set Transmission Protocol to TCP/IP.
- Click OK.
- On the Extended tab, set the following:
- Set Maximum Message Length to 4194304.
- Set Heartbeat Interval to 300.
- Click OK.
- On the MCA tab, enter an MCA User ID. Make sure that the user ID you enter is legitimate on the
operating system you use, and on both the server and client machines.
- Click OK.
- On the SSL tab, select none at the Standard settings field.
