[
https://issues.apache.org/jira/browse/AMQ-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish closed AMQ-2295.
-----------------------------
Resolution: Incomplete
Fix Version/s: (was: 5.6.0)
No test case provided to allow the problem to be tested and reproduced.
> Inconsistencies using browseMessages() in JMX on a queue
> --------------------------------------------------------
>
> Key: AMQ-2295
> URL: https://issues.apache.org/jira/browse/AMQ-2295
> Project: ActiveMQ
> Issue Type: Bug
> Components: JMX
> Affects Versions: 5.2.0
> Environment: centos 5, java 1.6.0_13, 32bit x86
> Reporter: David Schlenk
>
> 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"/>).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira