|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.handler.LoggingHandler
public class LoggingHandler
MessageHandler implementation that logs the Message payload. If the payload is assignable to Throwable, it will log the stack trace.
Field Summary |
---|
Fields inherited from class org.springframework.integration.handler.AbstractMessageHandler |
---|
logger |
Constructor Summary | |
---|---|
LoggingHandler(java.lang.String level)
Create a LoggingHandler with the given log level (case-insensitive). |
Method Summary | |
---|---|
protected void |
handleMessageInternal(Message<?> message)
|
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler |
---|
handleMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingHandler(java.lang.String level)
The valid levels are: FATAL, ERROR, WARN, INFO, DEBUG, or TRACE
Method Detail |
---|
protected void handleMessageInternal(Message<?> message) throws java.lang.Exception
handleMessageInternal
in class AbstractMessageHandler
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |