Class HiveMQReceivingMqttMessage

java.lang.Object
io.quarkiverse.hivemqclient.smallrye.reactive.HiveMQReceivingMqttMessage
All Implemented Interfaces:
io.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>, io.smallrye.reactive.messaging.providers.locals.ContextAwareMessage<byte[]>, org.eclipse.microprofile.reactive.messaging.Message<byte[]>

public class HiveMQReceivingMqttMessage extends Object implements io.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
  • Field Summary

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

    EMPTY_ACK, EMPTY_NACK, LOGGER
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
     
    byte[]
     
    io.netty.handler.codec.mqtt.MqttQoS
     
     
    boolean
     
    boolean
     
    nack(Throwable reason)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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

    getContextMetadata, runOnMessageContext

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

    ack, ack, addMetadata, getAck, getAckWithMetadata, getMetadata, getMetadata, getNackWithMetadata, nack, thenApply, unwrap, withAckWithMetadata, withMetadata, withMetadata, withNack, withNackWithMetadata, withPayload

    Methods inherited from interface io.smallrye.reactive.messaging.mqtt.MqttMessage

    withAck
  • Method Details

    • getPayload

      public byte[] getPayload()
      Specified by:
      getPayload in interface org.eclipse.microprofile.reactive.messaging.Message<byte[]>
    • getMessageId

      public int getMessageId()
      Specified by:
      getMessageId in interface io.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
    • getQosLevel

      public io.netty.handler.codec.mqtt.MqttQoS getQosLevel()
      Specified by:
      getQosLevel in interface io.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
    • isDuplicate

      public boolean isDuplicate()
      Specified by:
      isDuplicate in interface io.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
    • isRetain

      public boolean isRetain()
      Specified by:
      isRetain in interface io.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
    • getTopic

      public String getTopic()
      Specified by:
      getTopic in interface io.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
    • nack

      public CompletionStage<Void> nack(Throwable reason)
      Specified by:
      nack in interface org.eclipse.microprofile.reactive.messaging.Message<byte[]>
    • getNack

      public Function<Throwable,CompletionStage<Void>> getNack()
      Specified by:
      getNack in interface org.eclipse.microprofile.reactive.messaging.Message<byte[]>