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); }
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); }