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 Boolean
Return the duplicate header.static @Nullable Integer
Return the MQTT message id.static @Nullable Integer
receivedQos
(Message<?> message) Return the received QOS header.static @Nullable Boolean
receivedRetained
(Message<?> message) Return the received retained header.static @Nullable String
receivedTopic
(Message<?> message) Return the received topic header.
-
Method Details
-
receivedTopic
-
id
-
receivedQos
-
receivedRetained
-
duplicate
-