Esempio n. 1
0
 public IpcQueueSpecifier(IpcMessageBus parent, ReadAtom <MessageExchangeDeclaration> declSpec,
                          MessageQueueDeclaration queueSpec)
 {
     _parent    = parent;
     _declSpec  = declSpec;
     _queueSpec = queueSpec;
 }
Esempio n. 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());
        }
Esempio n. 3
0
 internal IpcExchange(IpcMessageBus parent, ReadAtom <MessageExchangeDeclaration> declSpec)
 {
     _parent   = parent;
     _declSpec = declSpec;
 }