This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • REST

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


For more information on Jolokia protocol, see its reference manual. An API like this makes it easy to script monitoring and management operations against the broker, see also How can I monitor ActiveMQ?

Gotcha's and other trivia

  1. Missing "body" parameter

In the curl POST examples above, the use of "body=..." is critical. If this is not specified in front of the message body contents, the web servlet will attempt to read the body from the request (rather than from the -d parameter), and this will result in the following exception:

Code Block
java.lang.IllegalStateException: STREAMED
at org.eclipse.jetty.server.Request.getReader(
at org.apache.activemq.web.MessageServletSupport.getPostedMessageBody(
at org.apache.activemq.web.MessageServlet.doPost(