Interface PulsarBatchMessage<T>
- All Superinterfaces:
ContextAwareMessage<List<T>>,Iterable<PulsarMessage<T>>,org.eclipse.microprofile.reactive.messaging.Message<List<T>>
- All Known Implementing Classes:
PulsarIncomingBatchMessage
public interface PulsarBatchMessage<T>
extends ContextAwareMessage<List<T>>, Iterable<PulsarMessage<T>>
-
Field Summary
Fields inherited from interface org.eclipse.microprofile.reactive.messaging.Message
EMPTY_ACK, EMPTY_NACK, LOGGER -
Method Summary
Methods inherited from interface io.smallrye.reactive.messaging.providers.locals.ContextAwareMessage
getContextMetadata, runOnMessageContextMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.eclipse.microprofile.reactive.messaging.Message
ack, ack, addMetadata, getAck, getAckWithMetadata, getMetadata, getMetadata, getNack, getNackWithMetadata, getPayload, nack, nack, thenApply, unwrap, withAck, withAckWithMetadata, withMetadata, withMetadata, withNack, withNackWithMetadata, withPayload
-
Method Details
-
getMessages
List<PulsarMessage<T>> getMessages()- Returns:
- list of messages contained in this message batch
-