I was doing some testing on the C++ broker and discovered that if you
purge messages from a queue (using the management method Queue.purge)
that has an alternate exchange configured, the messages are simply
deleted. They are not sent to the alternate exchange.
I'm planning to fix this because there are valuable use cases for being
able to dump some or all of the messages from a queue into an alternate
exchange (rather than deleting and re-creating the queue). The question
I have for the Devs is this: Should purge always use the alt-exchange
if present? Should this management method be left alone and a new
"purge-alt" be added that uses alt-exchange? Is there a case where it
is desirable to remove messages and not send them to the configured
alt-exchange?
Thanks,
-Ted
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]