Class ObjectMessageBuilder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.jms.Message buildMessage​(javax.jms.Session session, LogEvent event)
      Creation of a new message.
      • Methods inherited from class java.lang.Object

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

      • ObjectMessageBuilder

        public ObjectMessageBuilder()
    • Method Detail

      • buildMessage

        public javax.jms.Message buildMessage​(javax.jms.Session session,
                                              LogEvent event)
                                       throws javax.jms.JMSException
        Creation of a new message.
        Specified by:
        buildMessage in interface MessageBuilder
        Parameters:
        session - the session against which the message will be created
        event - the log event
        Returns:
        the message
        Throws:
        javax.jms.JMSException - if a messaging error occurs