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 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
- 
receivedTopic
Return the received topic header.- Parameters:
 message- the message.- Returns:
 - the header.
 
 - 
id
Return the MQTT message id.- Parameters:
 message- the message.- Returns:
 - the header.
 
 - 
receivedQos
Return the received QOS header.- Parameters:
 message- the message.- Returns:
 - the header.
 
 - 
receivedRetained
Return the received retained header.- Parameters:
 message- the message.- Returns:
 - the header.
 
 - 
duplicate
Return the duplicate header.- Parameters:
 message- the message.- Returns:
 - the header.
 
 
 -