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[]>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMessageId()Function<Throwable,CompletionStage<Void>>getNack()byte[]getPayload()io.netty.handler.codec.mqtt.MqttQoSgetQosLevel()StringgetTopic()booleanisDuplicate()booleanisRetain()CompletionStage<Void>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
-
-
-
-
Method Detail
-
getPayload
public byte[] getPayload()
- Specified by:
getPayloadin interfaceorg.eclipse.microprofile.reactive.messaging.Message<byte[]>
-
getMessageId
public int getMessageId()
- Specified by:
getMessageIdin interfaceio.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
-
getQosLevel
public io.netty.handler.codec.mqtt.MqttQoS getQosLevel()
- Specified by:
getQosLevelin interfaceio.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
-
isDuplicate
public boolean isDuplicate()
- Specified by:
isDuplicatein interfaceio.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
-
isRetain
public boolean isRetain()
- Specified by:
isRetainin interfaceio.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
-
getTopic
public String getTopic()
- Specified by:
getTopicin interfaceio.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
-
nack
public CompletionStage<Void> nack(Throwable reason)
- Specified by:
nackin interfaceorg.eclipse.microprofile.reactive.messaging.Message<byte[]>
-
getNack
public Function<Throwable,CompletionStage<Void>> getNack()
- Specified by:
getNackin interfaceorg.eclipse.microprofile.reactive.messaging.Message<byte[]>
-
-