Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Raven saga persister setup
public class MyBootStrapper : CastleBootStrapper
{
protected override void ConfigureBusFacility(AbstractRhinoServiceBusConfiguration configuration)
{
base.ConfigureBusFacility(configuration);
configuration.AddMessageModule<RavenStoreProviderMessageModule>();
}
protected override void ConfigureContainer()
{
base.ConfigureContainer();
Container.Register(
Component.For<IDocumentStoreProvider>()
.ImplementedBy<RavenStoreProviderMessageModule>(),
Component.For(typeof(ISagaPersister<>))
.ImplementedBy(typeof(RavenSagaPersister<>)));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.