handle

open override fun handle(exchange: ServerCommandExchange<*>): Mono<Void>

Handles a server command exchange and collects metrics on the operation. Metrics collected include timing, success/failure rates, and tags for aggregate and command identification.

Return

a Mono that completes when the command is handled

Parameters

exchange

the server command exchange containing the command to handle