You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AMQP
Any real reason why this library doesn't support setting the
expiration property when publishing messages? It seems like a really
simple change to make - passing it along if set in the publish method
only requires one line of code.
I realize that in the current version of rabbitmq that property is
ignored, but allowing clients to set the property would be useful for
clients wanting to roll their own expiration.
If we wanted to we could even have the amqp library recognize the flag
and silently ack expired messages, but that could of course be
dangerous - maybe it would make sense to have a flag to enable this?