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 SummaryModifier and TypeMethodDescriptionstatic BooleanReturn the duplicate header.static IntegerReturn the MQTT message id.static IntegerreceivedQos(Message<?> message) Return the received QOS header.static BooleanreceivedRetained(Message<?> message) Return the received retained header.static StringreceivedTopic(Message<?> message) Return the received topic header.
- 
Method Details- 
receivedTopicReturn the received topic header.- Parameters:
- message- the message.
- Returns:
- the header.
 
- 
idReturn the MQTT message id.- Parameters:
- message- the message.
- Returns:
- the header.
 
- 
receivedQosReturn the received QOS header.- Parameters:
- message- the message.
- Returns:
- the header.
 
- 
receivedRetainedReturn the received retained header.- Parameters:
- message- the message.
- Returns:
- the header.
 
- 
duplicateReturn the duplicate header.- Parameters:
- message- the message.
- Returns:
- the header.
 
 
-