Package de.caluga.morphium.messaging
Interface MessageListener<T extends Msg>
-
- All Known Implementing Classes:
Consumer,MessagingCacheSynchronizer,StatusInfoListener
public interface MessageListener<T extends Msg>User: Stephan Bösebeck Date: 26.05.12 Time: 17:19
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanmarkAsProcessedBeforeExec()TonMessage(Messaging msg, T m)process message, send answer if null is returned, no answer is sent
-
-
-
Method Detail
-
onMessage
T onMessage(Messaging msg, T m) throws InterruptedException
process message, send answer if null is returned, no answer is sent- Throws:
InterruptedException
-
markAsProcessedBeforeExec
default boolean markAsProcessedBeforeExec()
-
-