hsudbrock opened a new pull request, #14175: URL: https://github.com/apache/camel/pull/14175
# Description This PR adds support for the MQTT message headers introduced with MQTT 5 (like, e.g., content-type, response-topic, message-expiry-interval, or user properties; cf. section 3.3.2.3 of the [MQTT 5 spec](https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html)) to the Paho-MQTT5 component. To this end, support for a single new Camel message header, `CamelPahoMqtt5MsgProperties`, is added; the header is filled with an object containing the MQTT message headers when consuming a MQTT message, and the contents of the header are used to set the MQTT message headers when publishing a MQTT message. # Notes The PR adds a single Camel message header for all MQTT message headers (using the `MqttProperties` class from the underlying Eclipse Paho library). An alternative would be to add multiple Camel message headers for the various MQTT message headers (e.g., one for the content-type, one for the response-topic, one for the message-expiry-interval, etc.). I prefer the simpler variant with a single Camel message header, but am open for the solution with multiple Camel message headers if that is the more "Camel-esque" way to go. # Target - [X] I checked that the commit is targeting the correct branch (note that Camel 3 uses `camel-3.x`, whereas Camel 4 uses the `main` branch) # Tracking - [X] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [X] I checked that each commit in the pull request has a meaningful subject line and body. - [X] I have run `mvn clean install -DskipTests` locally and I have committed all auto-generated changes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org