nservicebusravenhq

NServiceBus 3 persistence in a single RavenDB database


I have an NServiceBus installation (a single server, obviously).

Is it possible to configure the NSB persistence to use a single RavenDB database (not server)?
If so, what would the configuration be?

The scenario I am thinking about is whether it is possible to use RavenHQ so that all my NSB data is backed up off the machine running the bus.


Solution

  • Just use the connectionstring option(NServiceBus.Persistence) and point all your endpoints to the same db. Be aware that you need to use NSB 3.2.3 since the TimeoutManager was patched to support this in that version