Commit aa82b7a
bzhangxmt
Fix bug 443744 - MQTTClient generate invalid client id for Websphere MQ 8.0
The client id is valid for MessageSight and also RSMB. But for some reason, the generated id is not valid for Websphdere MQ 8.0.
The '-' in the clientID prefix is considered as an invalid character in WebSphere MQ server.
This fix removes this character to make it compatible with the most of MQTT brokers.
Bug: 443744
Signed-off-by: bzhangxmt <zhbinbj@cn.ibm.com>1 parent 103f3eb commit aa82b7a
1 file changed
Lines changed: 3 additions & 3 deletions
File tree
- org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
| 794 | + | |
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
| |||
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
803 | | - | |
| 803 | + | |
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
| |||
0 commit comments