-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-3732: Fix NPE in Mqttv5PahoMessageDrivenChA
Fixes #3732 The `Mqttv5PahoMessageDrivenChannelAdapter` unconditionally tries to (un)subscribe to/from topics when the `mqqtClient` might not be initialized yet. * Add `mqqtClient` initialization check before adding or removing topic. Re-align logic with the `MqttPahoMessageDrivenChannelAdapter` **Cherry-pick to `5.5.x`**
- Loading branch information
1 parent
69efbd3
commit c1d29ab
Showing
3 changed files
with
43 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters