Queue
老邱 authored at 2016-12-20 11:46:24
428.00 B
X
using System;

namespace NewLife.Queue.Protocols.Brokers.Requests
{
    [Serializable]
    public class CreateTopicRequest
    {
        public string Topic { get; private set; }
        public int? InitialQueueCount { get; private set; }

        public CreateTopicRequest(string topic, int? initialQueueCount = null)
        {
            Topic = topic;
            InitialQueueCount = initialQueueCount;
        }
    }
}