Home > Enterprise >  IBM MQ clear message queue
IBM MQ clear message queue

Time:09-16

I do small white baidu step
Step 1: check the queue depth display ql 'READING_EXEC. Q' curdepth, results show that the 20 million data

Step 2: remove queue, an error AMQ8148: WebSphere MQ object in use.

The third step: according to the baidu's method is to use a command dis qs (*) type (handle) view takes up the queue process


What process takes up? How can I turn off the process and then clear the queue depth

CodePudding user response:

Ten million data does not recommend using MQGET API calls to empty the queue, the amount is too big may cause unexpected stop MQ service, so can only temporarily closed queue with this connection, the clear empty again after connection, avoid loss of data,
  • Related