inbound.MqttPahoMessageDrivenChannelAdapter: 81 - Exception while unsubscribing and disconnecting Client is not connected (32104)

Spring JIRA | Gary Russell | 3 years ago

Root Cause Analysis

  1. inbound.MqttPahoMessageDrivenChannelAdapter

    81 - Exception while unsubscribing and disconnecting Client is not connected (32104)

    at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException()
  2. org.eclipse.paho
    MqttClient.unsubscribe
    1. org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:27)
    2. org.eclipse.paho.client.mqttv3.internal.ClientComms.sendNoWait(ClientComms.java:131)
    3. org.eclipse.paho.client.mqttv3.MqttAsyncClient.unsubscribe(MqttAsyncClient.java:628)
    4. org.eclipse.paho.client.mqttv3.MqttClient.unsubscribe(MqttClient.java:253)
    4 frames
  3. org.springframework.integration
    MqttPahoMessageDrivenChannelAdapter.doStop
    1. org.springframework.integration.mqtt.inbound.MqttPahoMessageDrivenChannelAdapter.doStop(MqttPahoMessageDrivenChannelAdapter.java:74)
    1 frame