Replies: 3 comments 1 reply
-
can you confirm it is a bug or I have made a misconfiguration ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have try to change the routing for only async and keep #[AsMessageHandler(fromTransport: 'sync')] the handler is fired by an async message. I don't understand why ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have solved my issue, I have migrate my project form 5.4 and in my services.yaml files I have forgot to remove this lines
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Symfony version(s) affected
6.4.6
Description
Hi, I use symfony messenger with one bus and sync/async transport with doctrine.
When I dispatch a message it "go" on the 2 transports (It's my configuration), but the handler is configured to check the fromTransport and normally run only if the transport is sync. The problem is the handler run for async and sync transport it doesn't consider the fromTransport.
How to reproduce
My messenger.yaml
And my handler
Possible Solution
No response
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions