is it possible to get access to a HornetQServerControl via the HornetQ core API?
I read the management chapter from the documentation, but still have no idea how to get access. The only example I found in the sources uses JMX.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is an example to access HornetQ managememet API with JMS
https://github.com/hornetq/hornetq/blob/master/examples/jms/management/src/main/java/org/hornetq/jms/example/ManagementExample.java
Using HornetQ core API is similar.
You can also read the test https://github.com/hornetq/hornetq/blob/master/tests/integration-tests/src/test/java/org/hornetq/tests/integration/management/HornetQServerControlUsingCoreTest.java.