internal void DropExpiredMessage(MessagingStatisticsGroup.Phase phase) { MessagingStatisticsGroup.OnMessageExpired(phase); if (logger.IsVerbose2) { logger.Verbose2("Dropping an expired message: {0}", this); } ReleaseBodyAndHeaderBuffers(); }
internal void OnDropExpiredMessage(Message message, MessagingStatisticsGroup.Phase phase) { if (this.IsEnabled(DropExpiredMessageEventName)) { this.Write(DropExpiredMessageEventName, new { Message = message, Phase = phase }); } MessagingStatisticsGroup.OnMessageExpired(phase); LogDropExpiredMessage(this, message, phase, null); }
internal void DropExpiredMessage(MessagingStatisticsGroup.Phase phase) { MessagingStatisticsGroup.OnMessageExpired(phase); ReleaseBodyAndHeaderBuffers(); }
internal void DropExpiredMessage(MessagingStatisticsGroup.Phase phase) { MessagingStatisticsGroup.OnMessageExpired(phase); }
internal void DropExpiredMessage(ILogger logger, MessagingStatisticsGroup.Phase phase) { logger.LogWarning((int)ErrorCode.Messaging_DroppingExpiredMessage, "Dropped expired message during {Phase} phase. Message: {Message}", phase.ToString(), logger.IsEnabled(LogLevel.Trace) ? this.ToLongString() : this.ToString()); MessagingStatisticsGroup.OnMessageExpired(phase); }