You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "vik dhawan (JIRA)" <ji...@apache.org> on 2008/04/16 20:45:43 UTC
[jira] Created: (AMQ-1668) QueueBrowser class dont work in AMQ5.x
QueueBrowser class dont work in AMQ5.x
--------------------------------------
Key: AMQ-1668
URL: https://issues.apache.org/activemq/browse/AMQ-1668
Project: ActiveMQ
Issue Type: Bug
Affects Versions: 5.0.0
Environment: AMQ 5.0 and 5.1
Reporter: vik dhawan
QueueBrowser dont work in AMQ 5.0 and 5.1 it works fine on 4.x.x versions but having problems in 5.x versions.
To reproduce this problem create a loop where u browse the queue for available messages.
Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AMQ-1668) QueueBrowser class dont work in AMQ5.x
Posted by "Raphael Delaporte (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raphael Delaporte updated AMQ-1668:
-----------------------------------
Attachment: JmsQueueBrowserMessagesTest.java
> QueueBrowser class dont work in AMQ5.x
> --------------------------------------
>
> Key: AMQ-1668
> URL: https://issues.apache.org/activemq/browse/AMQ-1668
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.0.0
> Environment: AMQ 5.0 and 5.1
> Reporter: vik dhawan
> Fix For: 5.4.0
>
> Attachments: JmsQueueBrowserMessagesTest.java
>
>
> QueueBrowser dont work in AMQ 5.0 and 5.1 it works fine on 4.x.x versions but having problems in 5.x versions.
> To reproduce this problem create a loop where u browse the queue for available messages.
> Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-1668) QueueBrowser class dont work in AMQ5.x
Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42432#action_42432 ]
Hiram Chirino commented on AMQ-1668:
------------------------------------
please attach a junit test case.
> QueueBrowser class dont work in AMQ5.x
> --------------------------------------
>
> Key: AMQ-1668
> URL: https://issues.apache.org/activemq/browse/AMQ-1668
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.0.0
> Environment: AMQ 5.0 and 5.1
> Reporter: vik dhawan
>
> QueueBrowser dont work in AMQ 5.0 and 5.1 it works fine on 4.x.x versions but having problems in 5.x versions.
> To reproduce this problem create a loop where u browse the queue for available messages.
> Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-1668) QueueBrowser class dont work in AMQ5.x
Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56316#action_56316 ]
Gary Tully commented on AMQ-1668:
---------------------------------
trunk is correct, the limit is maxBrowsePageSize (default 200) which can be set on a destination policy. The limit is necessary to ensure that a browse of a deep destination does not use all available memory as all browsed messages are loaded into memory. Increase this limit to 1000 and you should see all messages on trunk.
> QueueBrowser class dont work in AMQ5.x
> --------------------------------------
>
> Key: AMQ-1668
> URL: https://issues.apache.org/activemq/browse/AMQ-1668
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.0.0
> Environment: AMQ 5.0 and 5.1
> Reporter: vik dhawan
> Fix For: 5.4.0
>
> Attachments: JmsQueueBrowserMessagesTest.java
>
>
> QueueBrowser dont work in AMQ 5.0 and 5.1 it works fine on 4.x.x versions but having problems in 5.x versions.
> To reproduce this problem create a loop where u browse the queue for available messages.
> Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-1668) QueueBrowser class dont work in AMQ5.x
Posted by "Raphael Delaporte (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56308#action_56308 ]
Raphael Delaporte commented on AMQ-1668:
----------------------------------------
Seems the ActiveMQPrefetchPolicy.setQueueBrowserPrefetch(int queueBrowserPrefetch) does not affect the behaviour.
> QueueBrowser class dont work in AMQ5.x
> --------------------------------------
>
> Key: AMQ-1668
> URL: https://issues.apache.org/activemq/browse/AMQ-1668
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.0.0
> Environment: AMQ 5.0 and 5.1
> Reporter: vik dhawan
> Fix For: 5.4.0
>
> Attachments: JmsQueueBrowserMessagesTest.java
>
>
> QueueBrowser dont work in AMQ 5.0 and 5.1 it works fine on 4.x.x versions but having problems in 5.x versions.
> To reproduce this problem create a loop where u browse the queue for available messages.
> Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-1668) QueueBrowser class dont work in AMQ5.x
Posted by "Raphael Delaporte (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56307#action_56307 ]
Raphael Delaporte commented on AMQ-1668:
----------------------------------------
Hi, I'm new to the community.
I've tested the ActiveMQQueueBrowser with a sample of 1000 messages.
- 5.1.0, it browses only the same first 100 messages each time I run the test
- 5.3.0, it browses all messages every time, then it's OK.
- trunk, it browses only the first 200 messages.
So, is there a setting anywhere ? Or it is a problem ?
I've uploaded a test case.
I want to help you.
Thanks.
> QueueBrowser class dont work in AMQ5.x
> --------------------------------------
>
> Key: AMQ-1668
> URL: https://issues.apache.org/activemq/browse/AMQ-1668
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.0.0
> Environment: AMQ 5.0 and 5.1
> Reporter: vik dhawan
> Fix For: 5.4.0
>
> Attachments: JmsQueueBrowserMessagesTest.java
>
>
> QueueBrowser dont work in AMQ 5.0 and 5.1 it works fine on 4.x.x versions but having problems in 5.x versions.
> To reproduce this problem create a loop where u browse the queue for available messages.
> Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.