Class AsyncQueueFullMessageUtil


  • public class AsyncQueueFullMessageUtil
    extends java.lang.Object
    Consider this class private.

    Transforms the specified user message to append an internal Log4j2 message explaining why this message appears out of order in the appender.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Message transform​(Message message)
      Returns a new Message based on the original message that appends an internal Log4j2 message explaining why this message appears out of order in the appender.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AsyncQueueFullMessageUtil

        public AsyncQueueFullMessageUtil()
    • Method Detail

      • transform

        public static Message transform​(Message message)
        Returns a new Message based on the original message that appends an internal Log4j2 message explaining why this message appears out of order in the appender.

        Any parameter objects present in the original message are not included in the returned message.

        Parameters:
        message - the message to replace
        Returns:
        a new Message object