示例#1
0
 public IpcQueueSpecifier(IpcMessageBus parent, ReadAtom <MessageExchangeDeclaration> declSpec,
                          MessageQueueDeclaration queueSpec)
 {
     _parent    = parent;
     _declSpec  = declSpec;
     _queueSpec = queueSpec;
 }
示例#2
0
        public IpcMessagePublisher()
        {
            var cfg  = Catalog.Factory.Resolve <IConfig>(SpecialFactoryContexts.Routed);
            var conn = cfg[MessagePublisherLocalConfig.HostConnectionString];

            _exchangeName = cfg[MessagePublisherLocalConfig.ExchangeName];

            _bus = Catalog.Preconfigure()
                   .Add(MessageBusSpecifierLocalConfig.HostConnectionString, conn)
                   .ConfiguredCreate(() => new IpcMessageBus());
        }
示例#3
0
 internal IpcExchange(IpcMessageBus parent, ReadAtom <MessageExchangeDeclaration> declSpec)
 {
     _parent   = parent;
     _declSpec = declSpec;
 }