Catch exception in MQTTAdapterListener.messageArrived()

pull/82/head^2
Lasantha Dharmakeerthi 2 months ago
commit 4424557413

@ -243,6 +243,8 @@ public class MQTTAdapterListener implements MqttCallback, Runnable {
} else {
inputEventAdapterListener.onEvent(msgText);
}
} catch (Exception ex) {
log.error("Error in message arrive : ", ex);
} finally {
PrivilegedCarbonContext.endTenantFlow();
}

Loading…
Cancel
Save