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

    LOGGER
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface io.smallrye.reactive.messaging.providers.locals.ContextAwareMessage

    getContextMetadata, runOnMessageContext

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator

    Methods inherited from interface org.eclipse.microprofile.reactive.messaging.Message

    ack, addMetadata, getAck, getMetadata, getMetadata, getNack, getPayload, nack, nack, unwrap, withAck, withMetadata, withMetadata, withNack, withPayload
  • Method Details

    • getMessages

      List<PulsarMessage<T>> getMessages()
      Returns:
      list of messages contained in this message batch