Expiration

4 views
Skip to first unread message

iragsdale

unread,
Oct 19, 2009, 5:22:36 PM10/19/09
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?
Reply all
Reply to author
Forward
0 new messages