2010/1/25 Rafael Schloming <[email protected]>:
> Alan Conway wrote:
>>
>> On 01/22/2010 02:34 PM, Carl Trieloff wrote:
>>>
>>>
>>> I would add a purge-safe or something like that which does what you say
>>> purge-alt does in your text. purge-alt makes you think you are
>>> purging the queue associated with the alt.
>>
>> How about purge-to-alt?
>
> We could also just add an argument to purge controlling the behavior, could
> we not?
>
> It also seems like purge-to-alt is equivalent in implementation to a
> move-all(from, to) command, and yet unnecessarily more restricted. I would
> be tempted to leave purge as it is and consider adding a fancier move
> command as above.
>

I tend to agree...

If I invoke "purge" I expect it to do what it says on the tin - purge
the messages
If I want to "move" messages that is something different

-- Rob

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to