-
1. Re: How to get delivering messages through jmx - HornetQ
jbertram Oct 23, 2014 10:34 PM (in response to arul_soft2002)Support for the functionality you are looking for was added in HORNETQ-763 which was done after 2.2.5.Final was released.
-
2. Re: How to get delivering messages through jmx - HornetQ
arul_soft2002 Oct 26, 2014 11:56 PM (in response to jbertram)Should i reinstall latest 2.2.5 Final in JBoss 6 server to get JMX method "listDeliveringMessages" ?
-
3. Re: How to get delivering messages through jmx - HornetQ
jbertram Oct 27, 2014 9:54 AM (in response to arul_soft2002)Reinstalling 2.2.5.Final isn't going to help. It just doesn't have the functionality you're looking for.
I recommend you checkout the 2.2.eap5 branch, build, and install that.
-
4. Re: How to get delivering messages through jmx - HornetQ
arul_soft2002 Oct 28, 2014 12:16 AM (in response to jbertram)I understood from your statement i.e this new feature/request is only available in EAP 5.0 and not applicable for JBoss 6.0.
-
5. Re: How to get delivering messages through jmx - HornetQ
jbertram Oct 28, 2014 9:38 AM (in response to arul_soft2002)I believe you misunderstood my statement. The fact that the branch name contains "eap5" does not mean that it can't be used in JBoss AS 6.
-
6. Re: How to get delivering messages through jmx - HornetQ
arul_soft2002 Oct 28, 2014 11:46 PM (in response to jbertram)I couldn't understand .Can u explain how this can be implemented in JBoss 6 in simple steps ?
-
7. Re: How to get delivering messages through jmx - HornetQ
jbertram Oct 29, 2014 3:59 PM (in response to arul_soft2002)Basically you just need to checkout the 2.2.eap5 branch (or the latest tag on that branch), build it (using build.sh), and install the new jars into JBoss AS 6.
-
8. Re: How to get delivering messages through jmx - HornetQ
arul_soft2002 Oct 29, 2014 11:47 PM (in response to jbertram)Where can i get the 2.2.eap5 branch ?.Pls provide the link.
-
9. Re: How to get delivering messages through jmx - HornetQ
jbertram Oct 30, 2014 9:33 AM (in response to arul_soft2002)The link to our Git repo is on the main hornetq.org website. However, if you can't be bothered to look it up, here it is. I trust you know how to use Git.
-
10. Re: Re: How to get delivering messages through jmx - HornetQ
arul_soft2002 Nov 6, 2014 7:10 AM (in response to jbertram)I managed to build 2.2.eap5 branch and replaced the jars in JBoss 6 as you said and I got -> HornetQ Server 2.2.30.GA (HQ_2_2_30_SNAPSHOT, 122). However I found an issue while testing the “listDeliveringMessages” feature. Issue explained below.
I'm sending 5 messages to "dum" queue and holding it for 1 minute in "dumMDB" to capture the delivering messages. Now in JMX "DeliveringCount" is showing 5 (Refer -> Delivering Count.png) but it’s showing only 1 message in "listDeliveringMessagesAsJSON" (Refer -> listDeliveringMessagesAsJSON.png).Is this bug or I’ve done any wrong on this test case? Appreciate if you could help me to resolve this issue.
Below files attached for your reference.
HQ Client - HQClient.java
HQ Consumer - dumMDB.java
Server Logs - boot.txt and server.txt
Screenshots - Delivering Count.png and listDeliveringMessagesAsJSON.png-
HQClient.java 1.8 KB
-
dumMDB.java 1.9 KB
-
boot.log.zip 8.6 KB
-
server.log.zip 802 bytes
-
Delivering Count.png 26.2 KB
-
listDeliveringMessagesAsJSON.png 15.5 KB
-