Configuring the response timeout
By default, the administrative REST API times out if the time taken to send a response back to a client is longer than 30 seconds. you can configure the administrative REST API to use a different timeout value by using the setmqweb command.
Before you begin
You can view the current configuration of the timeout by using the dspmqweb
properties command with the -a flag. For more information, see dspmqweb. You can reset the value of the
timeout by using the setmqweb properties command with the -k and
-d flags. For more information, see setmqweb.
Procedure
Use the setmqweb properties command from the mqcli prompt to configure the response timeout:
Enter the following command:
setmqweb properties -k mqRestRequestTimeout -v timeout
where timeout specifies the time, in seconds, before the time out.