You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Be able to configure MqttSubscription with fine granularity in Spring Integration, allowing for the customization of MQTT options (such as qos, noLocal, retainAsPublished, etc) for each individual or multiple topics.
Current Behavior
I'm using org.eclipse.paho.mqttv5.client in Spring Integration, and Mqttv5PahoMessageDrivenChannelAdapter lacks a method to set MqttSubscription other than creating a MqttSubscription with only default parameters(topic and qos) .
Seems like it's the same in MQTT v3 version, where there is no method provided to configure MqttSubscription.
Context
Due to limitations in my coding skills, I have currently only been able to overwrite Mqttv5PahoMessageDrivenChannelAdapter and modifying the default configuration of MqttSubscription to address this issue.
Thank you for taking the time to review this issue. I appreciate your attention to it.
The text was updated successfully, but these errors were encountered:
Expected Behavior
Be able to configure
MqttSubscription
with fine granularity in Spring Integration, allowing for the customization of MQTT options (such asqos
,noLocal
,retainAsPublished
, etc) for each individual or multiple topics.Current Behavior
I'm using
org.eclipse.paho.mqttv5.client
in Spring Integration, andMqttv5PahoMessageDrivenChannelAdapter
lacks a method to setMqttSubscription
other than creating aMqttSubscription
with only default parameters(topic
andqos
) .spring-integration/spring-integration-mqtt/src/main/java/org/springframework/integration/mqtt/inbound/Mqttv5PahoMessageDrivenChannelAdapter.java
Lines 404 to 406 in e4ba493
Seems like it's the same in MQTT v3 version, where there is no method provided to configure
MqttSubscription
.Context
Due to limitations in my coding skills, I have currently only been able to overwrite
Mqttv5PahoMessageDrivenChannelAdapter
and modifying the default configuration ofMqttSubscription
to address this issue.Thank you for taking the time to review this issue. I appreciate your attention to it.
The text was updated successfully, but these errors were encountered: