Пример #1
0
        public BrokerTopology GetBrokerTopology()
        {
            var builder = new PublishEndpointBrokerTopologyBuilder();

            builder.CreateQueue(EntityName, Durable, AutoDelete, null, null, QueueTags);

            return(builder.BuildBrokerTopology());
        }
        public BrokerTopology GetBrokerTopology()
        {
            var builder = new PublishEndpointBrokerTopologyBuilder();

            builder.CreateQueue(EntityName, Durable, AutoDelete, QueueAttributes, QueueSubscriptionAttributes, QueueTags);

            return(builder.BuildBrokerTopology());
        }
Пример #3
0
        public BrokerTopology GetBrokerTopology()
        {
            var builder = new PublishEndpointBrokerTopologyBuilder();

            builder.Topic = builder.CreateTopic(EntityName, Durable, AutoDelete);

            if (_bindToQueue)
            {
                var queue = builder.CreateQueue(_queueName, Durable, AutoDelete);

                builder.CreateTopicSubscription(builder.Topic, queue);
            }

            return(builder.BuildBrokerTopology());
        }