qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-2193) Allow deleting the first message on a queue through the JMX Management Console when connected to older brokers
Date Tue, 10 Nov 2009 12:28:27 GMT

    [ https://issues.apache.org/jira/browse/QPID-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12775384#action_12775384

Rob Godfrey commented on QPID-2193:

To be fair, if you have a full understanding of the dynamic environment in which the queue
resides then deleting the first message from (head of the) queue is perfectly safe.  It is
only unsafe if the queue contents are changing in ways you cannot predict while you perform
the operation.

A better analogy might be that previously we allowed you to take aim but don't protect you
from involuntary movements of your foot placing your toes in the line of fire immediately
before you pulled the trigger.  versions after 0.6 allow for an automatic targeting system
which is guaranteed to avoid podiatric injury.

> Allow deleting the first message on a queue through the JMX Management Console when connected
to older brokers 
> ---------------------------------------------------------------------------------------------------------------
>                 Key: QPID-2193
>                 URL: https://issues.apache.org/jira/browse/QPID-2193
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Java Management : JMX Console
>    Affects Versions: 0.6
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: 0.6
> Java brokers previous to 0.6 do not support deletion of arbitrary messages, only the
'first message on the queue' at any given time. This was not exposed in the updated console
due for release with 0.6 (where the broker now does support deletion of arbitrary messages).
This decision was made because by its very nature the method cannot guarantee which message
would be deleted when it is executed, as any queue activity could alter which message is at
the head of the queue. However, users may have come to expect this method to be present, and
so it should be exposed for older brokers that lack the ability to exactly specify which messages
should be deleted.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message