1. use WebRequest  to access http://localhost:8161/admin with credentials to
login,(you can post a form request to http://localhost:8161/hawtio/#/login
instead),
2. keep your WebRequest with cookieContainer of previous request
3. then access jolokia rest api



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/How-can-I-call-REST-API-for-brokerMbean-getQueues-and-queueViewMbean-removeMatchingMessage-java-lang-tp4677762p4677845.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to