public interface RequestContext
| Modifier and Type | Method and Description |
|---|---|
void |
onEmptyMessage()
Method invoked when the poll fails to return any data to process.
|
void |
onError(java.lang.Throwable exception)
Method invoked when the poll results in an error.
|
void |
onMessage(java.util.Map<java.lang.String,java.lang.String> context,
java.lang.String data)
Method invoked when the poll returns some data.
|
void onEmptyMessage()
void onMessage(@Nonnull
java.util.Map<java.lang.String,java.lang.String> context,
@Nonnull
java.lang.String data)
void onError(@Nonnull
java.lang.Throwable exception)