File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -759,6 +759,17 @@ your Envelope::
759759 new AmqpStamp('custom-routing-key', AMQP_NOPARAM, $attributes)
760760 ]);
761761
762+ .. caution ::
763+
764+ The consumers do not show up in an admin panel as this transport does not rely on
765+ ``\AmqpQueue::consume() `` which is blocking. Having a blocking receiver makes
766+ the ``--time-limit/--memory-limit `` options of the ``messenger:consume `` command as well as
767+ the ``messenger:stop-workers `` command inefficient, as they all rely on the fact that
768+ the receiver returns immediately no matter if it finds a message or not. The consume
769+ worker is responsible for iterating until it receives a message to handle and/or until one
770+ of the stop conditions is reached. Thus, the worker's stop logic cannot be reached if it
771+ is stuck in a blocking call.
772+
762773Doctrine Transport
763774~~~~~~~~~~~~~~~~~~
764775
You can’t perform that action at this time.
0 commit comments