Wait Interval (-WI)

Use the Wait Interval adapter command (-WI) to set the length of time (in milliseconds) that the IBM® MQ queue manager allows the adapter to wait for a message to be received. Map execution is suspended until the message is received or until the specified time lapses.

-WI {0|S|wait_interval_in_milliseconds}
Option
Description
0
Do not wait at all. If there is no input available, the adapter does not wait for more messages.
S
This is an infinite wait time.
wait_interval_in_milliseconds
This is the number of milliseconds that the adapter waits for a message.

If the Wait Interval adapter command (-WI) is not issued, the default time that the adapter waits for a message is once for each second.

If the Wait Interval adapter command (-WI) is issued, the flow engine cannot be paused or shut down for the length of time you specified in the wait_interval_in_milliseconds command option. Do not specify the S command option and attempt to pause or shut down the flow engine. This will cause the flow engine to stop responding.