Apache ServiceMix Routes API

The Routes API from Apache ServiceMix — 4 operation(s) for routes.

Operations 4

GET /routes Apache ServiceMix List Routes #
GET /routes/{routeId} Apache ServiceMix Get Route #
POST /routes/{routeId}/start Apache ServiceMix Start Route #
POST /routes/{routeId}/stop Apache ServiceMix Stop Route #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/apache-servicemix-routes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

apache-servicemix-routes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Apache ServiceMix REST Bundles Routes API
  description: Apache ServiceMix is an open-source ESB (Enterprise Service Bus) and integration container built on Apache Karaf, Camel, CXF, and ActiveMQ. This API provides REST endpoints for managing bundles, routes, endpoints, and messaging.
  version: 7.0.0
  contact:
    name: Apache ServiceMix
    url: https://servicemix.apache.org/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://servicemix.example.com/api
  description: Apache ServiceMix REST API
tags:
- name: Routes
paths:
  /routes:
    get:
      operationId: listRoutes
      summary: Apache ServiceMix List Routes
      description: List all Apache Camel routes deployed in ServiceMix.
      tags:
      - Routes
      x-microcks-operation:
        dispatcher: RANDOM
      responses:
        '200':
          description: List of routes
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RouteList'
  /routes/{routeId}:
    get:
      operationId: getRoute
      summary: Apache ServiceMix Get Route
      description: Get details of a specific Camel route.
      tags:
      - Routes
      x-microcks-operation:
        dispatcher: URI_PARTS
        dispatcherRules: routeId
      parameters:
      - name: routeId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Route details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Route'
  /routes/{routeId}/start:
    post:
      operationId: startRoute
      summary: Apache ServiceMix Start Route
      description: Start a stopped Camel route.
      tags:
      - Routes
      x-microcks-operation:
        dispatcher: URI_PARTS
        dispatcherRules: routeId
      parameters:
      - name: routeId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Route started
  /routes/{routeId}/stop:
    post:
      operationId: stopRoute
      summary: Apache ServiceMix Stop Route
      description: Stop a running Camel route.
      tags:
      - Routes
      x-microcks-operation:
        dispatcher: URI_PARTS
        dispatcherRules: routeId
      parameters:
      - name: routeId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Route stopped
components:
  schemas:
    RouteList:
      type: object
      description: List of Camel routes
      properties:
        routes:
          type: array
          items:
            $ref: '#/components/schemas/Route'
    Route:
      type: object
      description: Apache Camel route
      properties:
        id:
          type: string
          description: Route identifier
        description:
          type: string
          description: Route description
        status:
          type: string
          enum:
          - Started
          - Stopped
          - Suspended
          description: Route status
        uptime:
          type: string
          description: Route uptime
        exchangesTotal:
          type: integer
          format: int64
          description: Total exchanges processed
        exchangesFailed:
          type: integer
          format: int64
          description: Failed exchanges count
        meanProcessingTime:
          type: integer
          description: Mean processing time in milliseconds