Rerouting Existing Timeouts

Component: RavenDB Persistence
NuGet Package NServiceBus.RavenDB (4.x)
Target NServiceBus Version: 6.x
RavenDB's implementation of distributed transactions contains a bug that could cause an endpoint, in certain (rare) conditions, to lose data. If RavenDB is configured to enlist in distributed transactions, read DTC not supported for RavenDB Persistence.

After moving an endpoint from one machine to another or changing endpoint name existing timeouts will need to be manually modified so that they could be delivered to new endpoint. In order to do that the following steps should be followed:

  • In Raven Persistence in Timeout Data document the following values need to be updated to contain new endpoint name or updated machine name:
  • Destination
  • OwningTimeoutManager (contains endpoint name only)
  • Headers:
  • NServiceBus.ReplyToAddress
  • NServiceBus.Timeout.RouteExpiredTimeoutTo
  • NServiceBus.OriginatingEndpoint
  • After the above change the endpoint need to be restarted to process the timeout

Related Articles


Last modified