mqtt transport close channel on processing exception for handleGatewayPublishMsg method

This commit is contained in:
Sergey Matvienko 2021-07-26 15:05:49 +03:00 committed by Andrew Shvayka
parent 2a4a9187d1
commit e61d433082

View File

@ -304,6 +304,7 @@ public class MqttTransportHandler extends ChannelInboundHandlerAdapter implement
}
} catch (RuntimeException | AdaptorException e) {
log.warn("[{}] Failed to process publish msg [{}][{}]", sessionId, topicName, msgId, e);
ctx.close();
}
}