[ https://issues.apache.org/jira/browse/CAMEL-12807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16613511#comment-16613511 ]
ASF GitHub Bot commented on CAMEL-12807: ---------------------------------------- GitHub user Fabryprog opened a pull request: https://github.com/apache/camel/pull/2521 CAMEL-12807 Avoid to use endpoint attribute when MqttConnectOptions i… …s declared once Hello, this is my propose patch to camel-paho endpoint Note is backward compatible! You can merge this pull request into a Git repository by running: $ git pull https://github.com/Fabryprog/camel CAMEL-12807 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/2521.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2521 ---- commit a962be45274d37d7610c6dd3bdfb90365b4a0d42 Author: Fabrizio Spataro <fabrizio.spataro@...> Date: 2018-09-13T13:37:45Z CAMEL-12807 Avoid to use endpoint attribute when MqttConnectOptions is declared once ---- > Avoid to use endpoint attribute when MqttConnectOptions is declared once > ------------------------------------------------------------------------ > > Key: CAMEL-12807 > URL: https://issues.apache.org/jira/browse/CAMEL-12807 > Project: Camel > Issue Type: Bug > Components: camel-paho > Affects Versions: 2.22.2 > Reporter: Fabrizio Spataro > Assignee: Fabrizio Spataro > Priority: Major > > Hello, > In my system i have a default MqttConnectOptions declared into spring context > and some other camel consumers/producers connected to others mqtt servers. > So today i cannot use endpoint parameters without declare an another > mqttConnectOptions class because the endpoint code suppose that use ALWAYS > MqttConnectOptions (if it is declared once) -- This message was sent by Atlassian JIRA (v7.6.3#76005)