Package-level declarations

Types

Link copied to clipboard

Utilities for acknowledging message exchanges.

Link copied to clipboard
fun interface ExchangeFilter<T : MessageExchange<*, *>> : Filter<T>

A filter for processing message exchanges in a filter chain.

Link copied to clipboard
Link copied to clipboard

Filter that retries message processing for recoverable errors.

Properties

Link copied to clipboard
Link copied to clipboard
val DEFAULT_RETRY_SPEC: RetryBackoffSpec

Default retry specification for recoverable errors.

Link copied to clipboard
const val ERROR_KEY: String
Link copied to clipboard
const val FUNCTION_KEY: String
Link copied to clipboard

Functions

Link copied to clipboard
fun retryStrategy(maxAttempts: Long = MAX_RETRIES, minBackoff: Duration = MIN_BACKOFF, logger: KLogger): Retry

Creates a retry strategy with exponential backoff and logging.