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

2009-11-11 Thread Robbie Gemmell (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12776461#action_12776461
 ] 

Robbie Gemmell commented on QPID-2193:
--

Ive added a warning note to the confirmation dialog box :)

 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-subscr...@qpid.apache.org



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

2009-11-10 Thread Aidan Skinner (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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-subscr...@qpid.apache.org



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

2009-11-10 Thread Rob Godfrey (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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-subscr...@qpid.apache.org