Top Description Methods
org.apache.log.output.jms

public Interface MessageBuilder

Known Direct Implementers
org.apache.log.output.jms.ObjectMessageBuilder, org.apache.log.output.jms.TextMessageBuilder
Imports
javax.jms.JMSException, .Message, .Session, org.apache.log.LogEvent

Interface that classes implement to build JMS Messages.
Authors
Avalon Development Team, Peter Donald

Method Summary

Modifier and TypeMethod and Description
public Message

Returns:

the message
buildMessage
(Session
the session against which the message will be created
session
,
LogEvent
the log event
event
)

Creation of a new message.

Method Detail

buildMessageback to summary
public Message buildMessage(Session session, LogEvent event) throws JMSException

Creation of a new message.

Parameters
session:Session

the session against which the message will be created

event:LogEvent

the log event

Returns:Message

the message

Exceptions
JMSException:
if a messaging error occurs