|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.handler.AbstractMessageHandler
public abstract class AbstractMessageHandler
Base class for MessageHandler implementations that provides basic
validation and error handling capabilities. Asserts that the incoming
Message is not null and that it does not contain a null payload. Converts
checked exceptions into runtime MessagingException
s.
Field Summary | |
---|---|
protected org.apache.commons.logging.Log |
logger
|
Constructor Summary | |
---|---|
AbstractMessageHandler()
|
Method Summary | |
---|---|
void |
handleMessage(Message<?> message)
|
protected abstract void |
handleMessageInternal(Message<?> message)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.commons.logging.Log logger
Constructor Detail |
---|
public AbstractMessageHandler()
Method Detail |
---|
public final void handleMessage(Message<?> message)
handleMessage
in interface MessageHandler
protected abstract void handleMessageInternal(Message<?> message) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |