Open danielHalan opened 9 years ago
Thanks. We will make it more consistent. If i understand it correctly, there would be a hierarchy for example in this configuration:
<add name="NServiceBus/Persistence/MongoDB"
connectionString="mongodb://..."/>
<add name="NServiceBus/Persistence/MongoDB/Saga"
connectionString="mongodb://..."/>
Sagas would use the second connection string but other things such as timeouts would use the first connection string.
Correct?
Correct.
Also if "NServiceBus/Persistence/MongoDB" is not specified, checking "NServiceBus/Persistence". http://docs.particular.net/nservicebus/ravendb/connecting#nservicebus-5-configuring-how-to-connect-to-the-ravendb-server-shared-store-for-all-persisters-defined-via-connection-string
Initially updated the code to use "NServiceBus/Persistence/MongoDB". Will continue to look at providing saga, timeout and subscription specific connection strings.
About configuration of the Connection String, would be nice if it followed similar naming convention as NHibernate example, so
Would look for,
This would be useful when mixing Persistence types
Full documentation and example in NHibernate http://docs.particular.net/nservicebus/nhibernate/configuration