org.apache.log.output.jms
Interface MessageBuilder
- All Known Implementing Classes:
- ObjectMessageBuilder, TextMessageBuilder
- public interface MessageBuilder
Interface that classes implement to build JMS Messages.
- Author:
- Avalon Development Team, Peter Donald
Method Summary |
javax.jms.Message |
buildMessage(javax.jms.Session session,
LogEvent event)
Creation of a new message. |
buildMessage
public javax.jms.Message buildMessage(javax.jms.Session session,
LogEvent event)
throws javax.jms.JMSException
- Creation of a new message.
- Parameters:
session
- the session against which the message will be createdevent
- the log event
- Returns:
- the message
- Throws:
javax.jms.JMSException
- if a messaging error occurs
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.