Miral
Miral

Reputation: 6038

nservicebus 4.0.3 how to disable ravendb

With 3.3.x version we were able to configure disable raven dB, but could find anY with 4.0.x version other workaround which I found was to disable timeout manager.

Any better way to sort it out?

Upvotes: 3

Views: 1296

Answers (3)

Benny Emmers
Benny Emmers

Reputation: 40

If you want to use sql server then you must use NserviceBus.Nhibernate If you need more information then let me know

Upvotes: 0

Matt Stewart
Matt Stewart

Reputation: 322

Looks like if you add the following to your endpointconfig it won't try to hit Raven DB. Unless you're using sagas or pub sub. Then I think some sort of storage is required. For my purpose, I don't require any storage.

Configure.Features.Disable<TimeoutManager>();

Upvotes: 3

Adam Fyles
Adam Fyles

Reputation: 6050

If you don't want to use RavenDB, then you will have to specify another storage type. If you do not want to use storage at all, turning off the features that use storage should work. In 4.0 that can be done by using Feature class. Example:

Configure.Features.Disable<Sagas>();

Upvotes: 0

Related Questions