[ 
https://issues.apache.org/jira/browse/CAMEL-27843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-27843:
--------------------------------
    Description: 
Found while improving the option descriptions of camel-paho-mqtt5 for 
CAMEL-23832 (commit 
https://github.com/apache/camel/commit/387f7ff0b6ea13b1acc5d8ca1e8ae0ec8dbee737,
 pull request https://github.com/apache/camel/pull/31143).
These are separate problems of the component; the descriptions change only 
documents the current behavior.

h4. 1. willMqttProperties are never sent
{{PahoMqtt5Endpoint.createMqttConnectionOptions()}} puts the properties on the 
will MqttMessage, but Paho 1.2.5 builds the CONNECT packet from 
conOptions.getWillMessageProperties() only, so Will Delay Interval, Message 
Expiry and Content Type are dropped.
Proposed change: also call options.setWillMessageProperties(...) when set.

h4. 2. executorServiceTimeout has no effect
Paho 1.2.5 never reads MqttConnectionOptions.getExecutorServiceTimeout(), and 
the MqttClient constructor Camel uses has no executor service.
Proposed change: deprecate the option.


_Claude Code on behalf of davsclaus_

  was:
Found while improving the option descriptions of camel-paho-mqtt5 for 
CAMEL-23832 (pull request https://github.com/apache/camel/pull/31143).
These are separate problems of the component; the descriptions change only 
documents the current behavior.

h4. 1. willMqttProperties are never sent
{{PahoMqtt5Endpoint.createMqttConnectionOptions()}} puts the properties on the 
will MqttMessage, but Paho 1.2.5 builds the CONNECT packet from 
conOptions.getWillMessageProperties() only, so Will Delay Interval, Message 
Expiry and Content Type are dropped.
Proposed change: also call options.setWillMessageProperties(...) when set.

h4. 2. executorServiceTimeout has no effect
Paho 1.2.5 never reads MqttConnectionOptions.getExecutorServiceTimeout(), and 
the MqttClient constructor Camel uses has no executor service.
Proposed change: deprecate the option.


_Claude Code on behalf of davsclaus_


> camel-paho-mqtt5: willMqttProperties are never sent, executorServiceTimeout 
> has no effect
> -----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27843
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27843
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-paho-mqtt5
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.25.0
>
>
> Found while improving the option descriptions of camel-paho-mqtt5 for 
> CAMEL-23832 (commit 
> https://github.com/apache/camel/commit/387f7ff0b6ea13b1acc5d8ca1e8ae0ec8dbee737,
>  pull request https://github.com/apache/camel/pull/31143).
> These are separate problems of the component; the descriptions change only 
> documents the current behavior.
> h4. 1. willMqttProperties are never sent
> {{PahoMqtt5Endpoint.createMqttConnectionOptions()}} puts the properties on 
> the will MqttMessage, but Paho 1.2.5 builds the CONNECT packet from 
> conOptions.getWillMessageProperties() only, so Will Delay Interval, Message 
> Expiry and Content Type are dropped.
> Proposed change: also call options.setWillMessageProperties(...) when set.
> h4. 2. executorServiceTimeout has no effect
> Paho 1.2.5 never reads MqttConnectionOptions.getExecutorServiceTimeout(), and 
> the MqttClient constructor Camel uses has no executor service.
> Proposed change: deprecate the option.
> _Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to