public interface MessageListener<T extends Msg>
| Modifier and Type | Method and Description |
|---|---|
default boolean |
markAsProcessedBeforeExec() |
T |
onMessage(Messaging msg,
T m)
process message, send answer
if null is returned, no answer is sent
|
T onMessage(Messaging msg, T m) throws InterruptedException
InterruptedExceptiondefault boolean markAsProcessedBeforeExec()
Copyright © 2022. All rights reserved.