Exemplo n.º 1
0
        public static void Execute()
        {
            MessagePublisher.InitializeServiceBus(MessageQueuePath, SubscriptionServiceUrl);

            ObjectFactory.Configure(x => x.For <IServiceBus>().Add(MessagePublisher.CurrentServiceBus));
        }