Open volkyeth opened 5 years ago
It would be interesting if we were able to add arbitrary metadata to a transport's messages through the configuration.
Something like:
transports: my_transport: 'enqueue://sqs?topic[name]=topic&metadata[messageGroupId]=my-group-id'
then that metadata could be merged with the one that comes from TransportConfiguration stamps when sending the message
This way it would be easier to make it work with more transports and different configurations, like with SQS FIFO queues (https://github.com/sroze/messenger-adapter/issues/40), for instance.
It would be interesting if we were able to add arbitrary metadata to a transport's messages through the configuration.
Something like:
then that metadata could be merged with the one that comes from TransportConfiguration stamps when sending the message
This way it would be easier to make it work with more transports and different configurations, like with SQS FIFO queues (https://github.com/sroze/messenger-adapter/issues/40), for instance.