Artem Bilan
280eb29f62
GH-3959: MqttConFailedEvent for normal disconnect ( #3961 )
...
* GH-3959: MqttConFailedEvent for normal disconnect
Fixes https://github.com/spring-projects/spring-integration/issues/3959
The `MqttCallback.disconnected(MqttDisconnectResponse)` in Paho v5 client is also
called when server initiates a disconnection.
In this case that `MqttDisconnectResponse` does not have a `cause` value
* Modify `MqttConnectionFailedEvent` to make a `cause` property optional
* Fix `Mqttv5PahoMessageDrivenChannelAdapter` & `Mqttv5PahoMessageHandler`
to not check for `cause`, but emit an `MqttConnectionFailedEvent` for any `disconnected()` calls
Unfortunately current Paho v3 client does not call `connectionLost()` for normal disconnections
and we cannot react for this callback with an `MqttConnectionFailedEvent`
**Cherry-pick to `5.5.x`**
* Fix language in doc
Co-authored-by: Gary Russell <grussell@vmware.com >
Co-authored-by: Gary Russell <grussell@vmware.com >
2022-12-07 08:58:10 -05:00
..
2021-02-08 14:48:35 -05:00
2018-07-03 14:11:02 -04:00
2021-10-21 14:17:35 -04:00
2021-02-08 14:48:35 -05:00
2021-05-10 16:14:53 -04:00
2018-07-03 14:11:02 -04:00
2021-07-19 15:55:53 -04:00
2021-04-07 15:17:17 -04:00
2021-04-07 15:17:17 -04:00
2019-06-26 16:14:02 -04:00
2019-05-29 17:47:34 -04:00
2021-04-07 15:17:17 -04:00
2019-05-29 17:47:34 -04:00
2019-05-29 17:47:34 -04:00
2019-05-29 17:47:34 -04:00
2019-08-19 16:14:55 -04:00
2021-04-07 15:17:17 -04:00
2019-12-26 15:41:19 -05:00
2020-05-26 16:54:15 -04:00
2021-04-07 16:59:57 -04:00
2021-10-21 14:17:35 -04:00
2021-05-10 16:14:53 -04:00
2020-05-27 12:21:24 -04:00
2021-05-18 13:53:45 -04:00
2021-05-10 13:05:43 -04:00
2021-10-21 14:17:35 -04:00
2019-05-30 14:10:00 -04:00
2019-05-29 17:47:34 -04:00
2021-03-24 11:12:03 -04:00
2019-02-15 15:54:18 -05:00
2021-09-08 17:14:29 -04:00
2020-10-23 11:12:50 -04:00
2021-09-20 10:35:16 -04:00
2021-05-10 13:05:43 -04:00
2020-11-19 14:04:25 -05:00
2021-11-16 12:21:17 -05:00
2021-03-23 14:23:46 -04:00
2019-05-29 17:47:34 -04:00
2021-10-21 14:12:50 -04:00
2019-06-26 16:14:02 -04:00
2021-10-20 15:09:29 -04:00
2021-10-21 14:17:35 -04:00
2020-08-07 12:56:57 -04:00
2019-05-29 17:47:34 -04:00
2020-05-13 12:16:13 -04:00
2020-12-02 17:20:46 -05:00
2021-10-21 14:17:35 -04:00
2021-06-08 17:28:59 -04:00
2020-10-23 11:12:50 -04:00
2020-10-23 11:12:50 -04:00
2021-04-07 15:17:17 -04:00
2022-05-27 12:44:12 -04:00
2021-04-07 15:17:17 -04:00
2020-08-07 12:56:57 -04:00
2021-10-21 14:17:35 -04:00
2021-11-15 10:00:14 -05:00
2022-08-28 09:56:21 -04:00
2019-05-29 17:47:34 -04:00
2022-04-07 14:16:39 -04:00
2021-04-16 15:54:26 -04:00
2020-11-19 14:04:25 -05:00
2018-07-03 14:11:02 -04:00
2021-03-23 14:23:46 -04:00
2015-08-11 18:21:35 -04:00
2020-03-19 15:20:13 -04:00
2018-10-09 12:29:34 -04:00
2021-05-18 13:53:45 -04:00
2021-04-07 15:17:17 -04:00
2021-02-16 16:46:45 -05:00
2022-12-07 08:58:10 -05:00
2022-02-08 19:07:39 -05:00
2021-10-21 14:17:35 -04:00
2020-12-02 17:20:46 -05:00
2020-10-28 14:47:02 -04:00
2021-11-01 16:49:59 -04:00
2022-06-08 13:17:00 -04:00
2020-07-20 16:31:24 -04:00
2018-07-24 12:24:34 -04:00
2019-03-21 17:16:30 -04:00
2020-07-24 11:03:39 -04:00
2021-10-21 14:17:35 -04:00
2021-07-27 15:19:36 -04:00
2021-10-21 14:17:35 -04:00
2019-08-19 16:14:55 -04:00
2021-03-01 13:38:03 -05:00
2019-06-26 16:14:02 -04:00
2019-09-30 14:36:33 -04:00
2021-10-21 14:17:35 -04:00
2021-04-07 15:17:17 -04:00
2021-04-07 15:17:17 -04:00
2021-03-16 15:06:36 -04:00
2019-05-29 17:47:34 -04:00
2020-07-13 16:31:03 -04:00
2019-05-29 17:47:34 -04:00
2021-02-08 14:48:35 -05:00
2022-02-16 10:02:32 -05:00
2021-10-21 14:17:35 -04:00
2020-11-19 14:04:25 -05:00
2021-06-11 15:20:33 -04:00
2021-03-31 15:13:33 -04:00
2021-10-21 14:12:50 -04:00
2020-02-21 16:47:42 -05:00
2021-11-15 12:21:52 -05:00
2020-08-11 15:04:02 -04:00
2021-11-15 12:21:52 -05:00
2021-11-15 12:21:52 -05:00