|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log.output.jms.TextMessageBuilder
Basic message factory that stores LogEvent in Message.
Constructor Summary | |
TextMessageBuilder(Formatter formatter)
Creation of a new text message builder. |
|
TextMessageBuilder(PropertyInfo[] properties,
Formatter formatter)
Creation of a new text message builder. |
Method Summary | |
javax.jms.Message |
buildMessage(javax.jms.Session session,
LogEvent event)
Build a message from the supplied session for the supplied event |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextMessageBuilder(Formatter formatter)
formatter
- the message formatterpublic TextMessageBuilder(PropertyInfo[] properties, Formatter formatter)
properties
- the property info setformatter
- the message formatterMethod Detail |
public javax.jms.Message buildMessage(javax.jms.Session session, LogEvent event) throws javax.jms.JMSException
buildMessage
in interface MessageBuilder
session
- the sessionevent
- the log event
javax.jms.JMSException
- if a messaging related error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |