Closed lost-anjarrett closed 1 year ago
once #110 is ready this could be address.
I think it should be mixed as a header values may be any AMQP Data type according to https://livebook.manning.com/book/rabbitmq-in-depth/chapter-3/108
Please be aware that both drivers return a different payload.
Hey @basz thanks ! I didnt't test with the AMQP extension indeed. Maybe I should give it a try.
BTW the workaround for this issue is to call getHeaders()
and access the wanted key. Pretty easy but I mention it anyway, we never know :D !
Hello,
I'm upgrading from 1.4.0 to 2.1.0 and I have an error when a message is redelivered to the queue from a dead letter exchange
As we can read on the official doc:
I also checked the message and this is the content of the
x-death
header:It seems to me that a header can be string or array (maybe more) and we should therefore remove the type hint in this case.
I can absolutely make the PR. But maybe am I missing something ?
PS: I run with rabbitmq in version 3.6.16 but I also tested it with 3.10.7 with same results.