Message queue example8/16/2023 ![]() The process method returns self::REQUEUE.A consumer processes a message (runs the process method of the.The workflow of re-queuing messages (processor returns ``self::REQUEUE``) is the following: This will also happen if an exception is thrown during processing or job running. ![]() The message will be returned to the queue again and will be processed later. If a message cannot be processed temporarily, for example, in case of connection timeout due to server overload, the process method should return self::REQUEUE. This is abnormal behavior, the message should also be rejected, but the processor requires user attention (e.g., log a critical error or even throw an exception). For example, when an entity id was invalid or missing.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |