-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[Messenger] Ability to use transactions while sending messages with AMQP #51719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 8.1
Are you sure you want to change the base?
[Messenger] Ability to use transactions while sending messages with AMQP #51719
Conversation
…es using transactions Resolves symfony#51656
Co-authored-by: Joseph Bielawski <[email protected]>
|
Tests are failing due to: It seems to have nothing to do with my PR. |
|
@michalsitek I added support for this in jwage/phpamqplib-messenger here jwage/phpamqplib-messenger#57 Could you take a look and give it a test? |
| $confirmTimeout = ('' !== ($options['confirm_timeout'] ?? '')); | ||
|
|
||
| if ($transactional && $confirmTimeout) { | ||
| throw new LogicException('Confirm timeout cannot be used on transactional channel.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| throw new LogicException('Confirm timeout cannot be used on transactional channel.'); | |
| throw new LogicException('confirm_timeout cannot be used on transactional_channel.'); |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no transactional_channel option, just transactional, so I'll leave this part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the message, check now please.
Uh oh!
There was an error while loading. Please reload this page.