public QueueSubscriptionEntity(long id, long subscriptionId, TopicEntity topic, QueueEntity queue, SubscriptionDescription subscriptionDescription)
        {
            Id = id;

            _topic = topic;
            _queue = queue;
            _subscription = new SubscriptionEntity(subscriptionId, topic, subscriptionDescription);
        }
 public TopicSubscriptionEntity(long id, long subscriptionId, TopicEntity source, TopicEntity destination,
                                SubscriptionDescription subscriptionDescription)
 {
     Id            = id;
     _source       = source;
     _destination  = destination;
     _subscription = new SubscriptionEntity(subscriptionId, source, subscriptionDescription);
 }
Exemplo n.º 3
0
 public TopicSubscriptionEntity(long id, long subscriptionId, TopicEntity source, TopicEntity destination, SubscriptionDescription subscriptionDescription,
                                RuleDescription rule = null, Filter filter = null)
 {
     Id            = id;
     _source       = source;
     _destination  = destination;
     _subscription = new SubscriptionEntity(subscriptionId, source, subscriptionDescription, rule, filter);
 }
Exemplo n.º 4
0
        public QueueSubscriptionEntity(long id, long subscriptionId, TopicEntity topic, QueueEntity queue, SubscriptionDescription subscriptionDescription,
                                       RuleDescription rule = null, Filter filter = null)
        {
            Id = id;

            _topic        = topic;
            _queue        = queue;
            _subscription = new SubscriptionEntity(subscriptionId, topic, subscriptionDescription, rule, filter);
        }