Exemple #1
0
            public static void AddSentMessage(IIdentity identity, IMessage message)
            {
                string from = message.GetSenderId();
                string to   = identity.Id;

                string fromRouteOutput = message.GetOutput();
                string toRouteInput    = message.GetInput();

                SentMessagesCounter.Increment(1, new[] { from, to, fromRouteOutput, toRouteInput });
            }
Exemple #2
0
            public static void AddSentMessage(IIdentity identity, IMessage message)
            {
                string from = message.GetSenderId();
                string to   = identity.Id;

                string fromRouteOutput = message.GetOutput();
                string toRouteInput    = message.GetInput();
                string priority        = message.ProcessedPriority.ToString();

                SentMessagesCounter.Increment(1, new[] { from, to, fromRouteOutput, toRouteInput, priority, bool.TrueString });
            }