Class MqttHeaderAccessor
java.lang.Object
org.springframework.integration.mqtt.support.MqttHeaderAccessor
Deprecated, for removal: This API element is subject to removal in a future version.
Helper for typed access to incoming MQTT message headers.
- Since:
- 5.3
- Author:
- Gary Russell, Jaehong Park
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable BooleanDeprecated, for removal: This API element is subject to removal in a future version.Return the duplicate header.static @Nullable IntegerDeprecated, for removal: This API element is subject to removal in a future version.Return the MQTT message id.static @Nullable IntegerreceivedQos(Message<?> message) Deprecated, for removal: This API element is subject to removal in a future version.Return the received QOS header.static @Nullable BooleanreceivedRetained(Message<?> message) Deprecated, for removal: This API element is subject to removal in a future version.Return the received retained header.static @Nullable StringreceivedTopic(Message<?> message) Deprecated, for removal: This API element is subject to removal in a future version.Return the received topic header.
-
Method Details
-
receivedTopic
Deprecated, for removal: This API element is subject to removal in a future version.Return the received topic header.- Parameters:
message- the message.- Returns:
- the header.
-
id
Deprecated, for removal: This API element is subject to removal in a future version.Return the MQTT message id.- Parameters:
message- the message.- Returns:
- the header.
-
receivedQos
Deprecated, for removal: This API element is subject to removal in a future version.Return the received QOS header.- Parameters:
message- the message.- Returns:
- the header.
-
receivedRetained
Deprecated, for removal: This API element is subject to removal in a future version.Return the received retained header.- Parameters:
message- the message.- Returns:
- the header.
-
duplicate
Deprecated, for removal: This API element is subject to removal in a future version.Return the duplicate header.- Parameters:
message- the message.- Returns:
- the header.
-
spring-integration-mqtt-clientmodule.