public static void Raven(BusConfiguration endpointConfiguration) { //# throw new NotImplementedException("You need to configure your connection parameters"); var connectionParameters = new NServiceBus.RavenDB.ConnectionParameters { Url = "Set_your_raven_url", // ApiKey = "Set_Your_API_key", // Credentials = null, // Set your credentials, // DatabaseName = "Set_your_database_name", }; endpointConfiguration .UsePersistence<RavenDBPersistence>(). SetDefaultDocumentStore(connectionParameters); }
public static void Raven(BusConfiguration endpointConfiguration) { //# throw new NotImplementedException("You need to configure your connection parameters"); var connectionParameters = new NServiceBus.RavenDB.ConnectionParameters { Url = "Set_your_raven_url", // ApiKey = "Set_Your_API_key", // Credentials = null, // Set your credentials, // DatabaseName = "Set_your_database_name", }; endpointConfiguration .UsePersistence <RavenDBPersistence>(). SetDefaultDocumentStore(connectionParameters); }