[jira] [Commented] (AMQ-6534) QueueBrowser can view messages being processed by consumers which are not yet acknowledged

2017-09-17 Thread Yogesh Rao (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16169280#comment-16169280
 ] 

Yogesh Rao commented on AMQ-6534:
-

Hello [~gtully],

Apologies didnt have much time for this.. I was looking into JIRA 5274 
mentioned by you and also looked at the commit. This could be my lack in 
understanding of ActiveMQ codebase but i couldn't bridge the fix done with the 
one needed for this. 

> QueueBrowser can view messages being processed by consumers which are not yet 
> acknowledged
> --
>
> Key: AMQ-6534
> URL: https://issues.apache.org/jira/browse/AMQ-6534
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.14.1
>Reporter: Yogesh Rao
>
>  ActiveMQ's Queue Browser API returns messages list that includes the ones 
> which currently getting processed by a consumer (not sent the 
> acknowledgment). I have seen this behaviour in ActiveMQ 5.13.3 and 5.14.1 
> To replicate this issue following needs to be done. 
> 1. Publish 3 messages to queue Test 
> 2. In a stand alone code have a message listener which goes to sleep call of 
> onMessage() (sleep for 10 mins) (Session is transacted false and Auto 
> Acknowledge) 
> 3. In a different Stand alone code have a queue browser code with no selector 
> specified. 
> We can see that QueueBrowser returns all the three messages instead of 2. 
> This behaviour differ from how Weblogic JMS, HornetQ and Apache Artemis work.
> I am not sure if the above behaviour is intended. However it would be a great 
> if ActiveMQ provides a way for QueueBrowsers to not see unacknowledged 
> messages.
> Disscussion on ActiveMQ Dev Forum :- 
> http://activemq.2283324.n4.nabble.com/ActiveMQ-5-14-1-QueueBrowser-can-view-messages-being-processed-by-consumers-which-are-not-yet-unacknd-td4719662.html
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AMQ-6534) QueueBrowser can view messages being processed by consumers which are not yet acknowledged

2016-12-13 Thread Gary Tully (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15744852#comment-15744852
 ] 

Gary Tully commented on AMQ-6534:
-

[~yogu13] it is not assigned to anyone so please do. Contributions are always 
most welcome, most especially fixes that include unit tests  ;-)

> QueueBrowser can view messages being processed by consumers which are not yet 
> acknowledged
> --
>
> Key: AMQ-6534
> URL: https://issues.apache.org/jira/browse/AMQ-6534
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.14.1
>Reporter: Yogesh Rao
>
>  ActiveMQ's Queue Browser API returns messages list that includes the ones 
> which currently getting processed by a consumer (not sent the 
> acknowledgment). I have seen this behaviour in ActiveMQ 5.13.3 and 5.14.1 
> To replicate this issue following needs to be done. 
> 1. Publish 3 messages to queue Test 
> 2. In a stand alone code have a message listener which goes to sleep call of 
> onMessage() (sleep for 10 mins) (Session is transacted false and Auto 
> Acknowledge) 
> 3. In a different Stand alone code have a queue browser code with no selector 
> specified. 
> We can see that QueueBrowser returns all the three messages instead of 2. 
> This behaviour differ from how Weblogic JMS, HornetQ and Apache Artemis work.
> I am not sure if the above behaviour is intended. However it would be a great 
> if ActiveMQ provides a way for QueueBrowsers to not see unacknowledged 
> messages.
> Disscussion on ActiveMQ Dev Forum :- 
> http://activemq.2283324.n4.nabble.com/ActiveMQ-5-14-1-QueueBrowser-can-view-messages-being-processed-by-consumers-which-are-not-yet-unacknd-td4719662.html
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AMQ-6534) QueueBrowser can view messages being processed by consumers which are not yet acknowledged

2016-12-12 Thread Yogesh Rao (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15743865#comment-15743865
 ] 

Yogesh Rao commented on AMQ-6534:
-

Thank You [~gtully],

In case no one is working on it.. i would love to provide a fix.

> QueueBrowser can view messages being processed by consumers which are not yet 
> acknowledged
> --
>
> Key: AMQ-6534
> URL: https://issues.apache.org/jira/browse/AMQ-6534
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.14.1
>Reporter: Yogesh Rao
>
>  ActiveMQ's Queue Browser API returns messages list that includes the ones 
> which currently getting processed by a consumer (not sent the 
> acknowledgment). I have seen this behaviour in ActiveMQ 5.13.3 and 5.14.1 
> To replicate this issue following needs to be done. 
> 1. Publish 3 messages to queue Test 
> 2. In a stand alone code have a message listener which goes to sleep call of 
> onMessage() (sleep for 10 mins) (Session is transacted false and Auto 
> Acknowledge) 
> 3. In a different Stand alone code have a queue browser code with no selector 
> specified. 
> We can see that QueueBrowser returns all the three messages instead of 2. 
> This behaviour differ from how Weblogic JMS, HornetQ and Apache Artemis work.
> I am not sure if the above behaviour is intended. However it would be a great 
> if ActiveMQ provides a way for QueueBrowsers to not see unacknowledged 
> messages.
> Disscussion on ActiveMQ Dev Forum :- 
> http://activemq.2283324.n4.nabble.com/ActiveMQ-5-14-1-QueueBrowser-can-view-messages-being-processed-by-consumers-which-are-not-yet-unacknd-td4719662.html
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AMQ-6534) QueueBrowser can view messages being processed by consumers which are not yet acknowledged

2016-12-12 Thread Gary Tully (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15741664#comment-15741664
 ] 

Gary Tully commented on AMQ-6534:
-

https://issues.apache.org/jira/browse/AMQ-5274 may have the fix that needs to 
be applied in this case.

> QueueBrowser can view messages being processed by consumers which are not yet 
> acknowledged
> --
>
> Key: AMQ-6534
> URL: https://issues.apache.org/jira/browse/AMQ-6534
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.14.1
>Reporter: Yogesh Rao
>
>  ActiveMQ's Queue Browser API returns messages list that includes the ones 
> which currently getting processed by a consumer (not sent the 
> acknowledgment). I have seen this behaviour in ActiveMQ 5.13.3 and 5.14.1 
> To replicate this issue following needs to be done. 
> 1. Publish 3 messages to queue Test 
> 2. In a stand alone code have a message listener which goes to sleep call of 
> onMessage() (sleep for 10 mins) (Session is transacted false and Auto 
> Acknowledge) 
> 3. In a different Stand alone code have a queue browser code with no selector 
> specified. 
> We can see that QueueBrowser returns all the three messages instead of 2. 
> This behaviour differ from how Weblogic JMS, HornetQ and Apache Artemis work.
> I am not sure if the above behaviour is intended. However it would be a great 
> if ActiveMQ provides a way for QueueBrowsers to not see unacknowledged 
> messages.
> Disscussion on ActiveMQ Dev Forum :- 
> http://activemq.2283324.n4.nabble.com/ActiveMQ-5-14-1-QueueBrowser-can-view-messages-being-processed-by-consumers-which-are-not-yet-unacknd-td4719662.html
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AMQ-6534) QueueBrowser can view messages being processed by consumers which are not yet acknowledged

2016-12-12 Thread Gary Tully (JIRA)

[ 
https://issues.apache.org/jira/browse/AMQ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15741661#comment-15741661
 ] 

Gary Tully commented on AMQ-6534:
-

there is a related fix: https://issues.apache.org/jira/browse/AMQ-5274 but that 
was only applied to the jmx browse, a jms queue browser uses a different code 
path. 

> QueueBrowser can view messages being processed by consumers which are not yet 
> acknowledged
> --
>
> Key: AMQ-6534
> URL: https://issues.apache.org/jira/browse/AMQ-6534
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 5.14.1
>Reporter: Yogesh Rao
>
>  ActiveMQ's Queue Browser API returns messages list that includes the ones 
> which currently getting processed by a consumer (not sent the 
> acknowledgment). I have seen this behaviour in ActiveMQ 5.13.3 and 5.14.1 
> To replicate this issue following needs to be done. 
> 1. Publish 3 messages to queue Test 
> 2. In a stand alone code have a message listener which goes to sleep call of 
> onMessage() (sleep for 10 mins) (Session is transacted false and Auto 
> Acknowledge) 
> 3. In a different Stand alone code have a queue browser code with no selector 
> specified. 
> We can see that QueueBrowser returns all the three messages instead of 2. 
> This behaviour differ from how Weblogic JMS, HornetQ and Apache Artemis work.
> I am not sure if the above behaviour is intended. However it would be a great 
> if ActiveMQ provides a way for QueueBrowsers to not see unacknowledged 
> messages.
> Disscussion on ActiveMQ Dev Forum :- 
> http://activemq.2283324.n4.nabble.com/ActiveMQ-5-14-1-QueueBrowser-can-view-messages-being-processed-by-consumers-which-are-not-yet-unacknd-td4719662.html
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)