public TransportMessage()
        {
            var id = CombGuid.Generate().ToString();

            this.Headers = new Dictionary <string, string>
            {
                { HeaderKeys.MessageId, id },
                { HeaderKeys.CorrelationId, id },
                { HeaderKeys.ContentType, null },
                { HeaderKeys.ReplyTo, null },
                { HeaderKeys.MessageType, null },
                { HeaderKeys.MessageIntent, null },
            };
        }
Exemple #2
0
        public TransportMessage()
        {
            var id = CombGuid.Generate().ToString();

            this.Headers = new Dictionary <string, string>
            {
                { HeaderKeys.MessageId, id },
                { HeaderKeys.CorrelationId, id },
                { HeaderKeys.ContentType, null },
                { HeaderKeys.ReplyTo, null },
                { HeaderKeys.MessageType, null },
                { HeaderKeys.MessageIntent, null },
                { HeaderKeys.ScheduledEnqueueTimeUtc, null },
                { HeaderKeys.DelayedDeliveryCount, 0.ToString() },
            };
        }