JMX: QueueView.getMessage(messageId) returns null on valid messageId
--------------------------------------------------------------------
Key: AMQ-2001
URL: https://issues.apache.org/activemq/browse/AMQ-2001
Project: ActiveMQ
Issue Type: Bug
Components: JMX
Affects Versions: 5.1.0
Environment: Windows XP SP2, JDK 6 update 10
Reporter: Suiden
I am trying to use JConsole to get a specific message from one of my queues and
I always get null...
Steps to reproduce the issue:
1. Start AMQ web console.
2. Create a new queue "test";
3. Send a text message to the queue.
4. Copy the message ID from browser.
5. Open JConsole, select AMQ JVM
6. Browse to MBeans > Queue > test > Operations
7. Paste the message ID in the textbox next to getMessage and press the button
to invoke the method.
Expected result: the message in full details
Actual result: null
Note: getMessage works fine though in the following scenario:
1. Use JConsole to invoke sendTextMessage on the "test" queue.
2. A new message ID is returned; copy it;
3. Invoke getMessage using the new message ID; the message is returned, as
expected
Afterwards:
4. Refresh the web page, so the new message is now visible
5. Invoke getMessage with the same message ID; the method returns null;
So as long as I don't touch the web browser, getMessage works...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.