-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Description
Symfony version(s) affected: 4.3-beta1
Description
The exact error that I receive from the console:
Cannot create an instance of Symfony\Component\Messenger\Stamp\BusNameStamp from serialized data because its constructor requires parameter "busName" to be present.
To me this error makes no sens, I have published a message using a SF 4.3 application and tried to consume it in another SF 4.3 application. For some reason the deserialization of the BusNameStamp fails in Symfony\Component\Messenger\Transport\Serialization\Serializer class in the decodeStamps
function, which really makes no sense since the JSON that is used for the deserialization of this stamp is this: [{"busName":"messenger.bus.default"}]
How to reproduce
Publish a message from a SF 4.3 application using the messenger.transport.symfony_serializer
service as the messenger default serializer and then try to consume it.