Command and Control

This section covers how to implement administrative command handlers that allow runtime control and inspection of your microservice.

Overview

Rumi provides a command-and-control mechanism that allows administrators to send commands to running microservices for:

  • Runtime Configuration - Adjust behavior without restart

  • Diagnostics - Query internal state and statistics

  • Operations - Trigger administrative actions

Commands are implemented using annotated methods (@Command) and can be invoked via administrative tools or programmatically.

Command Characteristics

  • Synchronous Execution - Commands execute immediately and return results

  • Outside Transaction Scope - Commands don't participate in message transactions

  • Administrative Context - Designed for operations, not business logic

Topics

Last updated