RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Route.Processors Show all

redb.Route.Processors

Classes

C AggregatorProcessor Aggregates multiple exchanges into a single exchange using a correlation key and completion predicat...
C CatchClause A catch clause used by .
C CheckpointProcessor Compiled body of a .Replayable("name") marker (a save-point). On each pass it captures a
C ChoiceProcessor Content-based router: evaluates when-clauses in order,
C CircuitBreakerOpenException Exception thrown when the circuit breaker is in Open state and no fallback is configured.
C CircuitBreakerProcessor Implements the Circuit Breaker pattern. When consecutive failures exceed a threshold,
C ClaimCheckProcessor Processor for the Claim Check EIP pattern.
C DeadLetterChannelProcessor Wraps an inner processor and, on uncaught exception, sends the exchange to the configured
C DelayProcessor Delays processing by a specified duration. Supports cancellation.
C DelegateProcessor Processes a message exchange asynchronously using a delegate function.
C DynamicEndpointResolver Per-instance cache that resolves an endpoint URI per exchange (via a
C EnrichProcessor Content Enricher: calls an external endpoint and merges the result into the current exchange.
C ExpressionBodyProcessor Processor that evaluates an and sets the result as the exchange body.
C ExpressionHeaderProcessor Processor that evaluates an and sets the result as a header.
C ExpressionPropertyProcessor Processor that evaluates an and sets the result as a property.
C FilterProcessor Evaluates a predicate on the exchange and passes through only if true.
C IdempotentConsumerProcessor Idempotent consumer processor. Deduplicates exchanges based on a key extracted
C InMemoryClaimCheckRepository In-memory implementation of .
C InMemoryIdempotentRepository In-memory implementation of .
C KeyedThrottleProcessor Throttle per key: each distinct key (customer id, tenant, API key…) gets its own sliding-window gate...
C LogProcessor Logs a message for each exchange passing through.
C LoopProcessor Repeats processing either a fixed number of times or until a predicate returns false.
C MulticastProcessor Sends the exchange to multiple processors (fan-out).
C OnExceptionProcessor The OnException handlers of one scope around a body: handles the failures a per-step
C PipelineProcessor Executes a list of processors sequentially. The backbone of route processing.
C PollEnrichProcessor Poll Enricher: sends a request to an endpoint with a timeout, merging the result
C ResequencerProcessor Resequences exchanges based on a sequence key, delivering them in order.
C RichLogProcessor Rich log processor that outputs multiple messages, selected headers and properties
C SamplingProcessor Samples messages from the stream, allowing only a subset to pass through.
C ScatterGatherProcessor Processor for the Scatter-Gather EIP pattern.
C SplitterProcessor Splits a single exchange into multiple exchanges based on a splitter function.
C TemplateLogProcessor Processor that logs a message using ExpressionResolver template syntax.
C ThreadsProcessor Threads EIP — Camel-style concurrency stage. Hands each incoming exchange to a bounded pool
C ThrottleProcessor Limits the rate of exchange processing using a fixed-rate token release.
C ToDynamicProcessor Camel-style toD(): sends the exchange to an endpoint whose URI is
C ToProcessor Sends the exchange to a target endpoint via its producer.
C TryCatchProcessor Try-catch error handling processor. Wraps a body processor and catches
C WhenClause A single condition-action pair used by .
C WireTapProcessor Sends a fire-and-forget clone of the exchange to a tap processor.

Enums

E CircuitState Circuit breaker states following the standard pattern.

redb.Route.Processors.LoadBalancer

Classes

C FailoverStrategy Failover load balancer strategy.
C LoadBalancerProcessor Processor for the Load Balancer EIP pattern.
C RandomStrategy Random load balancer strategy.
C RoundRobinStrategy Round-robin load balancer strategy.
C StickyStrategy Sticky load balancer strategy.
C WeightedStrategy Weighted round-robin load balancer strategy.

redb.Route.Processors.OnExceptionProcessor

Classes

C OnExceptionProcessor.ExceptionHandler Describes a registered exception handler.