The embodiment of the invention discloses a message processing method and device, electronic equipment, a storage medium and a program product, and the method comprises the steps: in response to determining that a message queue meets a message receiving condition, storing the message queue into a persistent queue storage space according to a mapping relation between the message queue and the persistent queue storage space; when a message consumption instruction is received and it is determined that the target consumption message cannot be read from the memory, reading the target consumption message from the persistent queue storage space according to the message consumption instruction; and sending the target consumption message to the message consumer. According to the technical scheme, the message accumulation capacity is improved, consumption backtracking, off-line message reading, consumption mark deletion confirmation, delay message processing, a message ACK mechanism, stream computing system access and storage and computing separation are achieved, the system throughput is improved while the real-time performance of messages is not affected, and the processing requirement of the user on the message and the ever-increasing requirement on the storage expansibility of the system are met.