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
In what version(s) of Spring Integration are you seeing this issue?
For example:
6.0.7
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
AbstractMqttMessageDrivenChannelAdapter#initTopics
The initTopics method of the AbstractMqttMessageDrivenChannelAdapter class does not check if the topic is an empty string
if empty string
MqttPahoMessageDrivenChannelAdapter#subscribe
The subscription part in the subscribe method in the MqttPahoMessageDrivenChannelAdapter class will report an error IMqttToken subscribeToken = this.client.subscribe(topics, requestedQos, listeners);
Expected behavior
A verification mechanism should be added
Sample
IMqttToken subscribeToken = this.client.subscribe(topics, requestedQos, listeners);
Will report an error