public RmqSubscription(string topic, RmqBus bus, IActor <T> actor, ReadQueue queue) { _topic = topic; _bus = bus; _queue = queue; _actor = actor; AttachTo(bus); }
public RmqSubscriptions(RmqBus bus) { _bus = bus; // in-memory-consul-cache-refresh is raised on consul refersh //it's registered on local channel . var applicationBus = new InstanceEventBus(); applicationBus.Register("in-memory-consul-cache-refresh", this); applicationBus.Register(KeyStore.ConnectionRefereshEvent, this); }