This content has been marked as final.
Show 3 replies
-
1. Re: how can i use listMessages() from JMSQueueControl
jmesnil May 15, 2012 2:50 AM (in response to richard916)You can have a look at the example/jms/jmx examples which shows how to use a JMSQueueControl
-
2. Re: how can i use listMessages() from JMSQueueControl
richard916 May 16, 2012 3:39 AM (in response to jmesnil)thanks Jeff.
that's what i need. but i got stuck on configuring JMX. Runnig the jms/jmx example with build.bat is ok since configuration is all done. When using jmx in my own project , I got "Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException", and before that i can't go through
"java -Dcom.sun.management.jmxremote
java -Dcom.sun.management.jmxremote.port=3000
java -Dcom.sun.management.jmxremote.ssl=falsejava -Dcom.sun.management.jmxremote.authenticate=false" in my command-line
I am going crazy...
-
3. Re: how can i use listMessages() from JMSQueueControl
jmesnil May 16, 2012 5:15 AM (in response to richard916)no, you need to pass the jmxremote properties to your Java application on the command line.