Issue Details (XML | Word | Printable)

Key: AMQ-2295
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: David Schlenk
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

Inconsistencies using browseMessages() in JMX on a queue

Created: 17/Jun/09 12:41 PM   Updated: 18/Jun/09 11:55 AM
Return to search
Component/s: JMX
Affects Version/s: 5.2.0
Fix Version/s: None

Time Tracking:
Not Specified

Environment: centos 5, java 1.6.0_13, 32bit x86


 Description  « Hide
I'm trying to write a utility to monitor our JMS queues using JMX. I'm having a hard time getting all of the messages currently in queue to show up when I call the browseMessages operation. It seems to randomly stop keeping track of how many messages are actually in the queue after a period of time when no consumers are active on the queue. Once a consumer connects and starts consuming messages then the browse function seems to work OK again. I'm using this configuration for my persistence:
<persistenceAdapter>
<amqPersistenceAdapter syncOnWrite="false" directory="${activemq.base}/data" maxFileLength="20 mb"/>
</persistenceAdapter>

Messages come in via stomp (<transportConnector name="stomp+ssl" uri="stomp+ssl://localhost:1940) and are consumed via http (<transportConnector name="ihttp" uri="http://localhost:61618"/>).



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
No changes have yet been made on this issue.