Class MqttHeaderAccessor
java.lang.Object
org.springframework.integration.mqtt.support.MqttHeaderAccessor
Helper for typed access to incoming MQTT message headers.
- Since:
- 5.3
- Author:
- Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable BooleanReturn the duplicate header.static @Nullable IntegerReturn the MQTT message id.static @Nullable IntegerreceivedQos(Message<?> message) Return the received QOS header.static @Nullable BooleanreceivedRetained(Message<?> message) Return the received retained header.static @Nullable StringreceivedTopic(Message<?> message) Return the received topic header.
-
Method Details
-
receivedTopic
-
id
-
receivedQos
-
receivedRetained
-
duplicate
-