catch exception in MQTTAdapterListener.messageArrived()

master
Amalka Subasinghe 2 months ago
parent b1f45852c1
commit 15d371a890

@ -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