public Message buildMessage(Session session, LogEvent event) throws JMSException(Code)
Creation of a new message.
Parameters: session - the session against which the message will be created Parameters: event - the log event the message exception: JMSException - if a messaging error occurs