Skip to content

Inceptum/AppServer.Sdk.Cqrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

AppServer.Sdk.Cqrs

Assembly exposes public class with name AppServerAwareRabbitMqConventionEndpointResolver which implements IEndpointResolver interface to be used with CqrsFacility.

using Inceptum.AppServer.Sdk.Cqrs;

public class Installer : IWindsorInstaller
{
  public void Install(IWindsorContainer container, IConfigurationStore store)
  {
    // First register App Server aware RabbitMQ endpoint resolver

    container.Register(
      Component.For<IEndpointResolver>()
        .ImplementedBy<AppServerAwareRabbitMqConventionEndpointResolver>()
        .DependsOn(new {
          transport = "main",
          serializationFormat = "protobuf"
        }
      )
    );

    // Then add CqrsFacility and configure Cqrs engine
    container.AddFacility<CqrsFacility>(
      /* ... */
    );
  }
}

About

Messaging.Cqrs SDK for AppServer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages