Apache ActiveMQ · Capability

Apache ActiveMQ REST API — Management

Apache ActiveMQ REST API — Management. 1 operations. Lead operation: Apache ActiveMQ Read MBean Attribute via Jolokia. Self-contained Naftiko capability covering one Apache Activemq business surface.

Run with Naftiko Apache ActivemqManagement

What You Can Do

GET
Readmbeanattribute — Apache ActiveMQ Read MBean Attribute via Jolokia
/v1/jolokia/read/{mbean}

MCP Tools

apache-activemq-read-mbean-attribute

Apache ActiveMQ Read MBean Attribute via Jolokia

read-only idempotent

Capability Spec

rest-management.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache ActiveMQ REST API — Management
  description: 'Apache ActiveMQ REST API — Management. 1 operations. Lead operation: Apache ActiveMQ Read MBean Attribute
    via Jolokia. Self-contained Naftiko capability covering one Apache Activemq business surface.'
  tags:
  - Apache Activemq
  - Management
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_ACTIVEMQ_API_KEY: APACHE_ACTIVEMQ_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-management
    baseUri: http://localhost:8161/api
    description: Apache ActiveMQ REST API — Management business capability. Self-contained, no shared references.
    resources:
    - name: jolokia-read-mbean
      path: /jolokia/read/{mbean}
      operations:
      - name: readmbeanattribute
        method: GET
        description: Apache ActiveMQ Read MBean Attribute via Jolokia
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: mbean
          in: path
          type: string
          description: JMX ObjectName of the MBean to read, e.g., org.apache.activemq:type=Broker,brokerName=localhost
          required: true
        - name: attribute
          in: path
          type: string
          description: Optional attribute name to read from the MBean. If omitted, all attributes are returned.
        - name: Origin
          in: header
          type: string
          description: Origin header required by Jolokia CORS protection.
          required: true
    authentication:
      type: basic
      username: '{{env.APACHE_ACTIVEMQ_USER}}'
      password: '{{env.APACHE_ACTIVEMQ_PASS}}'
  exposes:
  - type: rest
    namespace: rest-management-rest
    port: 8080
    description: REST adapter for Apache ActiveMQ REST API — Management. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/jolokia/read/{mbean}
      name: jolokia-read-mbean
      description: REST surface for jolokia-read-mbean.
      operations:
      - method: GET
        name: readmbeanattribute
        description: Apache ActiveMQ Read MBean Attribute via Jolokia
        call: rest-management.readmbeanattribute
        with:
          mbean: rest.mbean
          attribute: rest.attribute
          Origin: rest.Origin
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-management-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache ActiveMQ REST API — Management. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apache-activemq-read-mbean-attribute
      description: Apache ActiveMQ Read MBean Attribute via Jolokia
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-management.readmbeanattribute
      with:
        mbean: tools.mbean
        attribute: tools.attribute
        Origin: tools.Origin
      outputParameters:
      - type: object
        mapping: $.