Repository navigation
Breaking
- A consumer that failed to start with its context is started again. A broker or server not up yet used to leave
the routeErroreduntil a manual start; the context now retries in the background (2 s doubling to 1 min, no limit,
RouteEngineOptions.ConsumerStartRetry) and the route becomesStartedonce its consumer starts. The start-up log names the
Erroredroutes instead of reporting every endpoint operational. Packages:redb.Route. Upgrade: UPGRADING.md. - An
OnCompletionblock runs in the caller, which waits for it, as in Apache Camel;.ParallelProcessing()or
.ExecutorService("name")runs it on a bounded pool of its own instead. Before, every block after the consumer started
as unbounded background work. Packages:redb.Route. Upgrade: UPGRADING.md. - A Wire Tap runs on a bounded pool built from a thread pool profile, as in Apache Camel: 20 copies at a time and
1000 waiting by default, and the route's own thread runs a copy that finds both full. A slow tap target used to pile
up background work without limit. Profiles:RouteEngineOptions.DefaultThreadPoolProfile, named ones picked with
.WireTap(uri, executorService: "name"). Packages:redb.Route. Upgrade: UPGRADING.md. - An idempotent claim carries an id, so a node whose claim was taken over no longer settles the new holder's claim.
The SQL repository adds aclaim_idcolumn by itself. WithCreateTable = false, add the column before starting
4.8.0 nodes; the ALTER statement for each database is in UPGRADING. Packages:redb.Route,redb.Route.Core,redb.Route.Sql,redb.Route.As2,redb.Route.As4. Upgrade: UPGRADING.md. InterceptSendToEndpointpublishes the target in the exchange propertyCamelToEndpoint, as in Apache Camel; the
headersredb.toEndpointandCamelToEndpointare gone. Read${property.CamelToEndpoint}instead. Packages:redb.Route. Upgrade: UPGRADING.md.Splitmetadata are exchange properties, and anIMessagepart keeps its own headers, as in Apache Camel.
CamelSplitIndex,CamelSplitSizeandCamelSplitCompletemove from headers to properties (${property.CamelSplitIndex});
a part that is anIMessagebecomes the part's message, a copy without the parent's headers.
A streaming split reads one part ahead, as Camel's does: a source that waits for its next element holds the current
part back until it arrives. Packages:redb.Route. Upgrade: UPGRADING.md.- A copy that goes on as an exchange of its own has a new id, as in Apache Camel:
seda:,vm:,Multicast,
RecipientList,ScatterGather,EnrichandOnCompletioncopies get a newExchangeIdandCamelCorrelationId
set to the original's id;WireTapandPollEnrichcopies a new id without it. Each copy is its own in-flight entry,
in its own route; join hops onCamelCorrelationId, notExchangeId. Packages:redb.Route. Upgrade: UPGRADING.md. - A parallel
ScatterGatherorRecipientListinside a transaction runs each branch under a dependent clone of it,
as a parallelSplitandMulticastdo, instead of on the route's transaction from several threads at once. A failed
branch now rolls the whole block back, best-effort mode included; before, the other branches committed and sent. Packages:redb.Route. Upgrade: UPGRADING.md. - The AMQP fluent entry point is
AmqpDsl, asTimerDsl,GrpcDsl,TcpDslandLdapDsl. The class was named
Amqp, which the root namespace of AMQPNetLite shadows, soAmqp.Address(...)never compiled in a consumer's file;
code that wrote the full nameredb.Route.Amqp.Amqp.Address(...)now writesAmqpDsl.Address(...). Packages:redb.Route.Amqp. Upgrade: UPGRADING.md. - An AS2 receiver is bounded by default: 32 requests at once and 32 waiting (
maxConcurrentRequests=32,
requestQueueLimit=32), where it admitted every request; a burst past that is refused and resent by the partner.
maxConcurrentRequests=0keeps unlimited admission. Packages:redb.Route.As2. Upgrade: UPGRADING.md. - An AS2 receiver answers a refused request with 503 and
Retry-After: 30(was 429 and 1), and bounds its
asynchronous MDNs: a message asking for one when allasyncMdnPoolSize(20) slots are taken is refused before any
work, and a receipt the partner does not take is posted again up toasyncMdnAttempts(3) times instead of once. Packages:redb.Route.As2. Upgrade: UPGRADING.md. - An encrypted unsigned AS2 message has its MIC over the decrypted part with its MIME headers (RFC 4130 §7.3.1), on
send and on receive, as OpenAS2 computes it; such a message to a conforming partner was reported as a MIC mismatch. An
old and a new redb paired on such an agreement reportmismatchuntil both are upgraded. Packages:redb.Route.As2. Upgrade: UPGRADING.md. - Service Bus
enableBatchandbatchMaxMessagesare gone. Any list body is sent as one Service Bus batch, one
message per element, as in Apache Camel: a list ofIMessagewith each element's own body and properties, any other
list with each value under the exchange's headers. A list used to be one message unlessenableBatch=true. Packages:redb.Route.AzureServiceBus. Upgrade: UPGRADING.md. - IBM MQ batch mode:
batching=truereads a batch under syncpoint and commits it once, aList<IMessage>per batch;
the optionbatchSize, which did nothing, is gone. A request in a batch goes tobackoutQueueunless
disableReplyTo=true, which also stops a single consumer from replying. Packages:redb.Route.IbmMq. Upgrade: UPGRADING.md. - Kafka batch mode is
batching=true, sized bymaxBatchMessages, as every broker's batch:maxPollRecordsis gone,
pollTimeoutMsis the idle timeout of a batch andbatchingIntervalMsits hard limit, and theredbKafka.BatchSize
header is gone (the size isbody.Count). ReplacemaxPollRecords=Nwithbatching=true&maxBatchMessages=N. Packages:redb.Route.Kafka. Upgrade: UPGRADING.md. - Kafka headers take Apache Camel's names and types (
CamelKafkaTopic,CamelKafkaPartition,CamelKafkaOffset,
CamelKafkaTimestamp,CamelKafkaKey, andCamelKafkaRecordMetafor the fourSent.*headers); the old names are not
read. A record's partition ispartitionKey, else the newCamelKafkaPartitionKeyheader, else the key; the key is
kept with an explicit partition.keyFromHeaderis gone, and a producer refusespartitionNumber. The producer reads
CamelKafkaOverrideTopicandCamelKafkaOverrideTimestampper message, as Camel does, and removes them before the send. Packages:redb.Route.Kafka. Upgrade: UPGRADING.md. - An LLM store called without an exchange inside
ExecuteAtomicAsyncorBeginTransactionon the context's shared
IRedbServiceis no longer part of that transaction. It commits on its own and stays when the transaction rolls
back. Pass the exchange, or use aTransactionScope, which the call still joins. Packages:redb.Route.Llm. Upgrade: UPGRADING.md. - The reservation of a tool's idempotency key is kept next to the tool's output, in the agent's redb: the
?redb=
instance, else theAddRedbLlmStorage("name")one, else the context's default.AddRedbLlmStorage()alone is enough;
a host'sIIdempotentRepositoryin DI is no longer used for it, andRedbToolIdempotencyStore(context, name)lost its
repository parameter. Let agent runs finish before the upgrade: a run in flight may run a tool once more. Packages:redb.Route.Llm. Upgrade: UPGRADING.md. - The IMAP and POP3 consumers take Apache Camel's
searchTerm:searchTerm.subject,.from,.to,.body,
.subjectOrBody,.unseenand the sent and received date bounds (now-24horyyyy-MM-dd HH:mm:ss), or
searchTerm=#namefor a MailKit search query from the registry.searchQuery, which was never applied, is gone: a URI
that names it fails to start. Packages:redb.Route.Mail. Upgrade: UPGRADING.md. - An MQTT message the route fails on is settled by one rule in serial and concurrent mode, Apache Camel's
paho-mqtt5 rule as corrected by CAMEL-25793 (not yet in a Camel release): on a session the broker keeps
(cleanSession=false,sessionExpiryIntervalabove 0) it stays unacknowledged and the consumer reconnects after a
backoff, so the broker sends it again; otherwise it is acknowledged and logged as an error. Serial mode used to
acknowledge a failure; concurrent mode left it unacknowledged until the consumer stalled. Packages:redb.Route.MqttNet. Upgrade: UPGRADING.md. - A RabbitMQ send fails when the broker does not confirm it within
confirmTimeout(5000 ms by default, as in
Apache Camel) withRabbitMQPublishTimeoutException, aTimeoutException. A broker that blocks its publishers under a
memory or disk alarm used to hold every send, and its thread, for as long as the alarm lasted. Packages:redb.Route.RabbitMQ. Upgrade: UPGRADING.md. - An ordinary send no longer carries a sender's reply-to on, as in Apache Camel's JMS: a message consumed with a
reply-to and forwarded to RabbitMQ, IBM MQ or AMQP goes out without it. SetpreserveMessageQos=trueon the endpoint to
keep it; the correlation id is carried as before. Packages:redb.Route.RabbitMQ,redb.Route.IbmMq,redb.Route.Amqp. Upgrade: UPGRADING.md. - A RabbitMQ delivery the route fails on is tried 5 times, 1 s apart, then rejected without requeue, as in Apache
Camel (maximumRetryAttempts,retryDelay,rejectAndDontRequeue); it used to be requeued forever. Give the queue a
dead letter exchange, or the broker drops such a message. Packages:redb.Route.RabbitMQ. Upgrade: UPGRADING.md. - The S3 and Firebase Storage consumers keep an object whose exchange the route marked rollback-only
(.RollbackAll()), as they keep one that failed: no delete, no move, offered again on the next poll; Firebase's
moveFailedtakes it. It used to be deleted or moved as if it had succeeded. Packages:redb.Route.S3,redb.Route.Firebase. Upgrade: UPGRADING.md. - SQS
enableBatchandbatchMaxMessagesare gone. A list ofIMessagegoes out one SQS message per element by
SendMessageBatch, each with its own body and attributes; refused entries are counted in headers, not thrown. Any other
list is one message, its JSON. Packages:redb.Route.Sqs. Upgrade: UPGRADING.md. - The redb.Route packages target .NET 10 and .NET 11; .NET 8 and .NET 9 are no longer targets. Both reached end of
support on 10 November 2026. An application on .NET 8 or 9 stays on 4.7.x or moves to .NET 10. Theredb-route-xml
tool and the projectredb-route-xml newcreates now need .NET 10. Upgrade: UPGRADING.md.
Added
Base64Textreads base64 the same way on .NET 10 and .NET 11. .NET 11 refuses a value whose last character has
non-zero unused bits, .NET 10 ignores them.Decodeaccepts such a value on both runtimes,TryDecodeCanonical
refuses it on both. The Base64 data format and the AS2 MIC comparison accept it, as before. Packages:redb.Route,redb.Route.As2.IIdempotentRepository.Claimtells a key in flight from a confirmed one and takes over an abandoned claim. The redb,
SQL and in-memory repositories implement it from the state they keep; the in-memory one now keeps a confirmed flag.
A repository of your own keeps its behaviour (every held key is confirmed) until it overridesClaim; the AS2 receiver
uses it to answer a resend in flight with503instead of a duplicate MDN. The SQL repository ages a claim by the
database's clock; with the redb repository keep the timeout far above the clock skew between nodes. Packages:redb.Route,redb.Route.Core,redb.Route.Sql.- One batch contract for broker consumers in
redb.Route.Batching:BatchOptions(batching,maxBatchMessages,
pollTimeoutMsas an idle timeout,batchingIntervalMsas a hard limit),BatchCollector,BatchDispatcher(body a
List<IMessage>, one route run, one settlement) andIBatchSettlementfor a connector of your own. Packages:redb.Route. - EIPs publish Apache Camel's exchange properties, named in
ExchangePropertyKeys:CamelLoopIndexandCamelLoopSize,
CamelMulticastIndexandCamelMulticastComplete,CamelAggregatedSize,CamelAggregatedCompletedByand
CamelAggregatedCorrelationKey,CamelRecipientListEndpoint, andCamelCorrelationIdon Split and Multicast copies,
which the route span now reads as itsredb.correlation.idtag.
An aggregate's completion predicate is now evaluated on the arrival that reachescompletionSizetoo. Packages:redb.Route. - Option groups: an endpoint option marked
[OptionGroup]is writtengroup.member=valueon the URI and as
attributes of the same names in route XML, as Camel's prefixed options; an unknown member fails at start naming the
group's members, and[Sensitive]members are masked.EndpointOptions.BindableOptionslists the options as the URI
writes them. Packages:redb.Route. - The nested-lambda
Choicebranch,OnWhenandRetryWhiletake anIPredicate..Choice(c => c.When(Header("type").isEqualTo("order"), r => r.To(...)))now compiles, as the one-argument.When(IPredicate)already did; an exception handler'sOnWhen(...)andRetryWhile(...)take the same predicate form next to the lambda and the string. Packages:redb.Route. ConsumerStartRetry.UnhealthyOnRestartingandUnhealthyOnExhausted, Apache Camel's switches of the same names
with Camel's defaults (true): anErroredroute waiting for a start retry, or one no retry waits for any more, is
Unhealthy;falsereports that phase Degraded, so a broker that is down does not take the node out of readiness.
RouteContext.IsErroredRouteUnhealthytells a health check of its own the same. Packages:redb.Route.- AMQP 1.0 batch mode:
batching=truewithmaxBatchMessages(at mostcredit),pollTimeoutMsand
batchingIntervalMshands the route aList<IMessage>, accepted after the route and released on failure. A delivery
with a reply-to is rejected from a batch;disableReplyTo=true(Apache Camel's name, single mode too) takes it
without a reply. Packages:redb.Route.Amqp. - Service Bus batch mode:
batching=truewithmaxBatchMessages,pollTimeoutMsandbatchingIntervalMshands the
route aList<IMessage>received withReceiveMessagesAsync, completed after the route, abandoned (or dead-lettered with
autoDeadLetter) on failure, its locks renewed while the route runs. Not withenableSessions. Packages:redb.Route.AzureServiceBus. - IBM MQ
temporaryModelnames the model queue of the dynamic reply queue of request-reply (IBM MQ'sTEMPMODEL),
onIbmMqConnectionFactoryand inline on the endpoint; the default staysSYSTEM.DEFAULT.MODEL.QUEUE. The IBM MQ
developer image grants itsappuserDEV.APP.MODEL.QUEUE. Packages:redb.Route.IbmMq. - An agent run inside a transaction warns when it uses the in-memory conversation or tool idempotency store. These
stores do not roll back with the route, so a redelivered message may not call the tool again; the warning, logged
once per route and connection factory, names both fixes:AddRedbLlmStorage(), orllm:outside.Transacted(). Packages:redb.Route.Llm. - MQTT
sessionExpiryIntervalandmaxReconnectDelay, as in Apache Camel's paho-mqtt5: how long the broker keeps the
session after a disconnect (seconds, default 0: it ends with the connection, MQTT 5), and the longest pause before the
consumer reconnects after a failed message (milliseconds, default 128000). Packages:redb.Route.MqttNet. - RabbitMQ batch consumer:
batching=truewithmaxBatchMessages,pollTimeoutMsandbatchingIntervalMshands the
route aList<IMessage>per batch, settled once after the route, onconcurrentConsumersworkers. A delivery with a
reply-to is rejected from a batch unlessdisableReplyTo=true, which also stops a single consumer from replying. Packages:redb.Route.RabbitMQ. - Redis stream batch mode:
batching=trueon anXREADorXGROUPconsumer withmaxBatchMessages(default
streamReadCount),pollTimeoutMsandbatchingIntervalMshands the route aList<IMessage>; with a group it is
acknowledged in oneXACKafter the route and stays pending on failure, forstreamClaimMinIdleMsto claim again. Packages:redb.Route.Redis. - SQS batch consumer:
batching=truewithmaxBatchMessages,pollTimeoutMsandbatchingIntervalMshands the
route aList<IMessage>per batch, collected over receives of up to 10 and deleted once after the route; a failed
batch comes back by the visibility timeout and reaches the dead letter queue through the redrive policy. Packages:redb.Route.Sqs.
Changed
RouteHealthCheckalso reports the endpoints the routes send to. One that knows it cannot send (a RabbitMQ
endpoint whose broker blocks it under a memory or disk alarm, any endpoint at a high error rate) makes the result
Degraded, never Unhealthy, and is listed underendpointswith its masked URI and reason. A readiness probe that
fails on Degraded takes the node out of readiness while it lasts. Packages:redb.Route,redb.Route.RabbitMQ.- The "Compiled route" and "Endpoint started" log lines show a long endpoint URI in a short form. A URI longer than
120 characters (a SQL statement, a long query string) is cut at a parameter boundary, never inside a masked secret,
and ends with... [+N chars #hash], a hash of the whole masked URI that tells endpoints apart. With Debug on, the same
lines carry the whole masked URI.EndpointUri.ForLoggives the same form for your own logs. Packages:redb.Route. AddComponentsregisters a component whose constructor has only optional parameters (such asHttpComponent),
as the XML catalog already lists it: one rule for both. A scanned component it cannot create, for want of such a
constructor or because the constructor throws, is now named in a warning instead of left out in silence. Packages:redb.Route.- Connector start and stop lines use the short URI form too, as the "Compiled route" and "Endpoint started" lines
already do: a URI longer than 120 characters is cut with... [+N chars #hash], and the whole masked URI is on the
same line when Debug is on.EndpointUri.ForLog(uri, logger)gives that choice to custom components. Packages:redb.Route,redb.Route.Amqp,redb.Route.Elasticsearch,redb.Route.GenericFile,redb.Route.IbmMq,redb.Route.Ldap,redb.Route.RabbitMQ,redb.Route.Redis,redb.Route.S3,redb.Route.Sqs. log:level=takes Apache Camel's names and refuses any other.INFO,WARNandOFFnow mean Information,
Warning and None, solevel=WARNlogs at Warning andlevel=OFFlogs nothing (both logged at Information before);
the .NET names work as before, in any case. An unknown name used to log at Information without a word; now it stops
the route at start with a message listing the accepted names. Packages:redb.Route. Upgrade: UPGRADING.md.- An AS2 endpoint refuses to start with an
As2FromorAs2Tothat is not an AS2 identifier. Each must be 1 to 128
printable ASCII characters (RFC 4130 §6.2); a non-ASCII or longer identifier is now a configuration error naming the
setting, instead of reaching the partner as a header it cannot accept. Packages:redb.Route.As2. - An AS2 receiver answers a
requiredreceipt option it cannot honour with a failed MDN and does not process the
message. Asigned-receipt-protocolother thanpkcs7-signature, orsigned-receipt-micalgwith no algorithm
usable here, markedrequired, now getsfailed/Failure: unsupported formatorunsupported MIC-algorithms
(RFC 4130 §7.5.3). It used to be processed with the agreement's algorithm;optionalstill is. Packages:redb.Route.As2. - An AS2 receiver without a certificate of its own answers a
requiredsigned receipt with a failed MDN. It used to
process the message and send an unsigned receipt; it now answersfailed/Failure: unsupported formatand does not
process it (RFC 4130 §7.5.3). Anoptionalsigned receipt is still processed with an unsigned MDN. Packages:redb.Route.As2. - The AS4 receiver refuses a security value in non-canonical base64 on every runtime. A DigestValue, SignatureValue,
CipherValue, BinarySecurityToken or KeyIdentifier whose last character has non-zero unused bits (YR==instead of
YQ==) was accepted on .NET 10 and is refused on .NET 11; it is now refused on both, as XML Schemabase64Binary
requires, with the error code of any other malformed value there. Senders such as Domibus never write that form. Packages:redb.Route.As4. - An AS4 resend that arrives while the first copy is still in the route is answered 503, not with a receipt. A
receipt then would tell the sender the message arrived although the first copy could still fail. The sender gets the
rejectStatusCodewithRetry-Afterand no ebMS signal and resends on its retry schedule (Domibus does); a resend
after the first copy succeeded still gets its very receipt. A claim never confirmed is taken over after the new
inFlightClaimTimeout(10 minutes). Packages:redb.Route.As4. - Base64 credentials and WS-Security values must be canonical on every runtime. A value whose last character has
non-zero unused bits now gets 401 as an inbound HTTP Basic credential. In a SOAP signature it sets
redbSoap.signatureValidto false. In an encrypted SOAP request it gets theSecurity check failedfault. .NET 10
used to accept such a value; .NET 11 refuses it. Packages:redb.Route.Http,redb.Route.Soap. - IBM MQ consumer pauses after a backout: in poll and batch modes the consumer waits
backoutDelaymilliseconds
(default 1000) before it reads again, so a failed message no longer comes straight back;backoutDelay=0keeps the
old behaviour. This option is redb's addition, not part of Apache Camel; listener mode is not affected. Packages:redb.Route.IbmMq. AddRedbRouteLlm()registers an in-memory tool idempotency store. WithoutAddRedbLlmStorage()a repeated tool
call with the same key (conversation and tool-use id) now returns the stored output instead of running the tool
again, within the process and for 24 hours after the first call completed;AddRedbLlmStorage()or a store of
your own (InMemoryToolIdempotencyStoretakes a ttl) still replaces it, in either call order. Packages:redb.Route.Llm. Upgrade: UPGRADING.md.- Telegram spans no longer carry the chat id. The consumer span dropped
messaging.telegram.chat.id; the send span
dropped it andmessaging.destination.name, which held the same value. A route that needs the chat id in its traces
adds it with.SpanTag("messaging.telegram.chat.id", Header(TelegramHeaders.ChatId), SpanTarget.Inbound). Packages:redb.Route.Telegram. - The
redb-route*templates create a net10.0 project and no longer take--framework. A module runs in the Tsak
worker, which targets .NET 10, and a module built for a newer framework does not load there. Drop--frameworkfrom
scripts that create these templates. Packages:redb.Templates. Upgrade: UPGRADING.md. - Microsoft dependencies move to the 10.0.15 servicing line. Microsoft.Extensions.*, Microsoft.Data.Sqlite, System.Security.Cryptography.Xml / Pkcs and the ASP.NET Core packages are referenced at 10.0.15 (was 10.0.13). On .NET 11 System.Security.Cryptography.Xml / Pkcs are taken from the 11.0 line. An
application that pins one of them lower raises its pin. - VS Code extension 0.2.31: completion and validation follow the 4.8.0 endpoint options. The editor offers the
new options (batch mode, reply-to, mailsearchTerm, the AS2, AS4, RabbitMQ and MQTT additions) and marks the
removed ones (enableBatch,maxPollRecords,searchQueryand the others in UPGRADING.md) as errors. - Route 4.8.0 is built on redb 4.8.0. A route context that keeps state in redb (idempotent repository, aggregation,
LLM storage) takes the redb 4.8.0 database upgrade at its first start; every node of one database moves to 4.8.0
together, as the redb 4.8.0 upgrade notes describe.
Fixed
- A list body no longer goes out as its type name. Kafka, RabbitMQ and IBM MQ producers send a list of
IMessage
element by element, each with its own body and headers (IBM MQ in one unit of work); Kafka also a plain list, as
camel-kafka. RabbitMQ, IBM MQ and AMQP refuse a plain list, a request-reply producer refuses a list, and AMQP asks toSplit. Packages:redb.Route,redb.Route.Kafka,redb.Route.RabbitMQ,redb.Route.IbmMq,redb.Route.Amqp. - An AS2 resend that arrives while the first copy is still in the route is no longer answered as a duplicate. With
anidempotentRepository, the partner now receives503withRetry-Afterand no MDN for such a copy, and resends it;
theprocessed/warning: duplicate-documentMDN goes only to a copy of a message whose processing was confirmed. Before,
the copy got that MDN, and when the first copy then failed the document was lost. A claim left unconfirmed by a stopped
node for longer than the newinFlightClaimTimeout(10 minutes) is taken over, so the resend is processed. Packages:redb.Route.As2. - Every redb store of
AddRedbLlmStorage()called without an exchange opens a redb scope of its own per call: the
tool idempotency, eval run, approval, batch, conversation, knowledge, prompt template and tool result cache stores, as
the cost budget store and the audit observer already did. They used the context's singleIRedbService, so concurrent
calls without an exchange (the eval runner saves without one; a host calling a store directly) shared one connection
and the second was refused as concurrent use. Packages:redb.Route.Llm.
Earlier versions
Earlier releases are archived by line in changelog/: 4.7.x, 4.6.x, 4.5.x, 4.4.x, 4.3.x, 4.2.x, 4.1.x, 4.0.x, 3.x, 2.x, 1.x.