On Mon, 2008-07-28 at 11:43 -0600, William Henry wrote:
> Hi all,
> 
> There is a requirement to be able to administratively move messages from 
> one queue to another and I'm looking for input regarding the/a use case 
> for this requirement.
> 
> It has been suggested that this is really a query/criteria based move 
> and it's really at a broker level. i.e. broker X please move all 
> messages from user johnz from queue A to queue B. Or broker X please 
> move all messages with topic Y from queue A to queue B.  Queue B might 
> just be some sort of suspend queue while an administrator finds out what 
> johnz really wants or why messages of topic Y are not getting consumed etc.
> 
> Has anyone any opinions or a concrete use case for this? 
> 
> Regards,
> William  Henry
> 
> 


This is a potentially rude and violent way to treat messages,and there
had better be a good reason for it or the administrator could get sued
or prosecuted, depending on the value of the message.

But with that said, here are several real-life analogues:


  1. The Deadbeat
     ------------

User_X has quit paying his bills.  We sent him a Final Notice thousands
of milliseconds ago, but he has not responded.  Admin starts diverting
all his messages to a holding queue and sends him a message that says we
are no longer delivering his messages.  Then he pays up, and we move all
his messages back to their respective queues.  Note that in this
scenario you have to remember where they came from (in the header?)



  2. The Fast Lane
     --------------

Due to extreme message traffic on some queues, some new queues are
created.  Certain (preferred) senders are re-routed to those queues, and
receivers are told to subscribe.  The new queues are given preferential
treatment, so that the messages in them experience much lower latency
for the duration of the emergency.



  3. The Censor
     --------------

A Very Important Customer informs us that all (or some) messages on
certain queues must be diverted to other queues, where each one will be
examined.  Upon examination each message will either be diverted
unchanged back to its original queue, or parts will be deleted before
diversion back to its original queue, or a team of Navy Seals will be
sent to the message's origin point.





Reply via email to