Exemple #1
0
 /// <summary>
 /// Creates a new instance of the message queue.
 /// </summary>
 /// <param name="name">(optional) a queue name.</param>
 /// See <see cref="MessagingCapabilities"/>
 public MemoryMessageQueue(string name = null)
     : base(name)
 {
     Name         = name;
     Kind         = "memory";
     Capabilities = new MessagingCapabilities(true, true, true, true, true, true, true, false, true);
 }
Exemple #2
0
        /// <summary>
        /// Creates a new instance of the message queue.
        /// </summary>
        /// <param name="name">(optional) a queue name</param>
        /// <param name="config">configuration parameters</param>
        public MessageQueue(string name = null, ConfigParams config = null)
        {
            Name         = name;
            Capabilities = new MessagingCapabilities(true, true, true, true, true, true, true, true, true);

            if (config != null)
            {
                Configure(config);
            }
        }
 /// <summary>
 /// Creates a new instance of the message queue.
 /// </summary>
 /// <param name="name">(optional) a queue name.</param>
 /// See <see cref="MessagingCapabilities"/>
 public CachedMessageQueue(string name = null, MessagingCapabilities capabilities = null)
     : base(name, capabilities)
 {
 }
Exemple #4
0
 /// <summary>
 /// Creates a new instance of the message queue.
 /// </summary>
 /// <param name="name">(optional) a queue name</param>
 /// <param name="config">configuration parameters</param>
 public MessageQueue(string name = null, MessagingCapabilities capabilities = null)
 {
     Name         = name;
     Capabilities = capabilities ?? new MessagingCapabilities(false, false, false, false, false, false, false, false, false);
 }