From 71b4d4b04ca1460fafc5db682aa8566ff65164fe Mon Sep 17 00:00:00 2001 From: Michal Sitek Date: Fri, 22 Sep 2023 11:08:00 +0200 Subject: [PATCH 1/2] [Messenger] Documented the ability to use transactions while sending messages with AMQP --- messenger.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/messenger.rst b/messenger.rst index bac7254ed59..a1fb55dc758 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1362,6 +1362,11 @@ The transport has a number of options: greater seconds. May be fractional. ``retry`` ``sasl_method`` +``transactional`` Whether publishing to the queue should be wrapped ``false`` + in a transaction. Every dispatched message is + wrapped in a separate transaction. Makes Messenger + throw exception, if message wasn't delivered to + the exchange. ``connection_name`` For custom connection names (requires at least version 1.10 of the PHP AMQP extension) ``verify`` Enable or disable peer verification. If peer From 04fa130d730362f1227ea1b767b6733e41893bae Mon Sep 17 00:00:00 2001 From: Michal Sitek Date: Fri, 22 Sep 2023 11:48:31 +0200 Subject: [PATCH 2/2] Added versionadded directive --- messenger.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/messenger.rst b/messenger.rst index a1fb55dc758..baceed86589 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1392,6 +1392,10 @@ The transport has a number of options: ``exchange[type]`` Type of exchange ``fanout`` ============================================ ================================================= =================================== +.. versionadded:: 6.4 + + The ``transactional`` option was introduced in Symfony 6.4. + .. versionadded:: 6.1 The ``connection_name`` option was introduced in Symfony 6.1. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy