You can have a look at the example/jms/jmx examples which shows how to use a JMSQueueControl
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
I am going crazy...
no, you need to pass the jmxremote properties to your Java application on the command line.