Skip to content

Commit 2bfec22

Browse files
committed
[Messenger] Add Beanstalkd's bury_on_reject option
1 parent bcb0e34 commit 2bfec22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

messenger.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,6 +1786,10 @@ The transport has a number of options:
17861786
The message time to run before it is put back in the ready queue - in
17871787
seconds.
17881788

1789+
``bury_on_reject`` (default: ``false``)
1790+
When set to ``true``, rejected messages are placed into a "buried" state
1791+
in Beanstalkd instead of being deleted.
1792+
17891793
The Beanstalkd transport lets you set the priority of the messages being dispatched.
17901794
Use the ``Symfony\Component\Messenger\Bridge\Beanstalkd\Transport\BeanstalkdPriorityStamp``
17911795
and pass a number to specify the priority (default = ``1024``; lower numbers mean higher priority)::

0 commit comments

Comments
 (0)