public MessagePublisher(IBrokerServiceLocator brokerServiceLocator) { _brokerServiceLocator = brokerServiceLocator ?? new BrokerServiceLocator(); }
public PublisherServiceHelper(IBrokerServiceLocator brokerServiceLocator) { _brokerServiceLocator = brokerServiceLocator; }
public SubscriberService(StatelessServiceContext context) : base(context) { _brokerServiceLocator = new BrokerServiceLocator(); }
public SubscriberActorHelper(IBrokerServiceLocator brokerServiceLocator) { _brokerServiceLocator = brokerServiceLocator; }
public PublisherServiceHelper() { _brokerServiceLocator = new BrokerServiceLocator(); }
public static IMessageConsumer CreateConsumer(this ActorBase actor, IBrokerServiceLocator serviceLocator) { return(new MessageConsumer(new ActorMessageRegistry(actor, serviceLocator))); }
public SubscriberActorHelper() { _brokerServiceLocator = new BrokerServiceLocator(); }
public static IMessageConsumer CreateConsumer(this StatefulService service, ServicePartitionInformation partition, IBrokerServiceLocator serviceLocator) { return(service.Context.CreateConsumer(partition, serviceLocator)); }
public static IMessageConsumer CreateConsumer(this ServiceContext context, ServicePartitionInformation partition, IBrokerServiceLocator serviceLocator) { return(new MessageConsumer(new ServiceMessageRegistry(context, partition, serviceLocator))); }
protected MessageRegistry(TContext context, IBrokerServiceLocator serviceLocator) { ServiceLocator = serviceLocator; ContextWrapper = context; }
/// <summary> /// Create a BrokerClient /// </summary> /// <param name="brokerServiceLocator"></param> public BrokerClient(IBrokerServiceLocator brokerServiceLocator = null) { _brokerServiceLocator = brokerServiceLocator ?? new BrokerServiceLocator(); }
public ServiceMessageRegistry(ServiceContext context, ServicePartitionInformation partition, IBrokerServiceLocator serviceLocator) : base(new ServiceContextWrapper(context), serviceLocator) { this.partition = partition; }
public SubscriberServiceHelper(IBrokerServiceLocator brokerServiceLocator = null, Action <string> logCallback = null) { _brokerServiceLocator = brokerServiceLocator ?? new BrokerServiceLocator(); _logCallback = logCallback; }
public ActorMessageRegistry(ActorBase context, IBrokerServiceLocator serviceLocator) : base(new ActorContextWrapper(context), serviceLocator) { }