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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.reactive.messaging.providers.locals.ContextAwareMessage
getContextMetadata, runOnMessageContextMethods 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, withPayloadMethods inherited from interface io.smallrye.reactive.messaging.mqtt.MqttMessage
withAck
-
Method Details
-
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
- Specified by:
getTopicin interfaceio.smallrye.reactive.messaging.mqtt.MqttMessage<byte[]>
-
nack
- Specified by:
nackin interfaceorg.eclipse.microprofile.reactive.messaging.Message<byte[]>
-
getNack
- Specified by:
getNackin interfaceorg.eclipse.microprofile.reactive.messaging.Message<byte[]>
-