Apache ActiveMQ · JSON Structure

Rest Jolokia Response Structure

Standard Jolokia response envelope for successful MBean read operations.

Type: object Properties: 4
AMQPApacheJavaJMSMessage BrokerMessagingMQTTOpen SourceSTOMP

JolokiaResponse is a JSON Structure definition published by Apache ActiveMQ, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

request value timestamp status

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-activemq/refs/heads/main/json-structure/rest-jolokia-response-structure.json",
  "name": "JolokiaResponse",
  "description": "Standard Jolokia response envelope for successful MBean read operations.",
  "type": "object",
  "properties": {
    "request": {
      "type": "object",
      "description": "Echo of the original request details.",
      "properties": {
        "type": {
          "type": "string",
          "description": "Jolokia operation type (read, write, exec, search).",
          "example": "read"
        },
        "mbean": {
          "type": "string",
          "description": "JMX ObjectName of the target MBean.",
          "example": "org.apache.activemq:type=Broker,brokerName=localhost"
        },
        "attribute": {
          "type": "string",
          "description": "Attribute name that was read.",
          "example": "TotalConsumerCount"
        }
      }
    },
    "value": {
      "description": "The attribute value returned. Type varies by attribute.",
      "example": 3
    },
    "timestamp": {
      "type": "integer",
      "description": "Unix timestamp of the response.",
      "example": 1718153645
    },
    "status": {
      "type": "integer",
      "description": "HTTP status code of the Jolokia operation.",
      "example": 200
    }
  }
}