Package me.ehp246.aufjms.core.dispatch
Class DispatchLogger
java.lang.Object
me.ehp246.aufjms.core.dispatch.DispatchLogger
- All Implemented Interfaces:
DispatchListener,DispatchListener.OnDispatch,DispatchListener.OnException,DispatchListener.PostSend,DispatchListener.PreSend
public final class DispatchLogger
extends Object
implements DispatchListener.OnDispatch, DispatchListener.PreSend, DispatchListener.PostSend, DispatchListener.OnException
- Since:
- 1.0
- Author:
- Lei Yang
-
Nested Class Summary
Nested classes/interfaces inherited from interface me.ehp246.aufjms.api.dispatch.DispatchListener
DispatchListener.OnDispatch, DispatchListener.OnException, DispatchListener.PostSend, DispatchListener.PreSend -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonDispatch(JmsDispatch dispatch) voidonException(JmsDispatch dispatch, JmsMsg msg, Exception e) voidpostSend(JmsDispatch dispatch, JmsMsg msg) voidpreSend(JmsDispatch dispatch, JmsMsg msg)
-
Constructor Details
-
DispatchLogger
public DispatchLogger()
-
-
Method Details
-
onDispatch
- Specified by:
onDispatchin interfaceDispatchListener.OnDispatch
-
preSend
- Specified by:
preSendin interfaceDispatchListener.PreSend
-
postSend
- Specified by:
postSendin interfaceDispatchListener.PostSend
-
onException
- Specified by:
onExceptionin interfaceDispatchListener.OnException
-