摘要:
Disclosed is a method of issuing messages in a message queue. The method comprises: (a) receiving a request of entering a message into the message queue, obtaining parameter information of the message, determining priority of the message according to the parameter information of the message, and inserting the message into the message queue according to priority of the message; (b) issuing messages in the message queue sequentially according to the priority of each message. The method can optimize the timing of dequeueing message from the message queue, ensure a quick processing of the critical transaction, avoid prolonged delay of the message with lighter weight, reduce the risk of system application, and improve user's real-time interactive experience.