You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org> on 2009/11/10 13:04:27 UTC

[jira] Commented: (QPID-2193) Allow deleting the first message on a queue through the JMX Management Console when connected to older brokers

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

Aidan Skinner commented on QPID-2193:
-------------------------------------

That seems quite dangerous to me. If we can't guarantee which message is going to be deleted, or even detect which one we're going to delete I don't think we should offer this.

Just because we've always let people shoot their foot off in the past doesn't mean we should continue to do so. 

If they really, really to keep doing that they can always use an older release. 

> 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