eclipse-paho / eclipse-paho/paho.mqtt.java
subscribe method with IMqttMessageListener doesn't work with wildcard topics
Open
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 919
- PR merge metrics
- No merged PRs in 30d
Description
Please fill out the form below before submitting, thank you!
- [x] Bug exists Release Version 1.2.5 ( Master Branch)
- [ ] Bug exists in MQTTv3 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)
- [ ] Bug exists in MQTTv5 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)
When `deliverMessage` is called in `CommsCallback`, it validates the topic and doesn't allow wildcards in `MqttTopic.isMatched`. In the end it throws `IllegalArgumentException("The topic name MUST NOT contain any wildcard characters (#+)")`.
Contributor guide
Assessment
This issue has not been assessed yet.