@Override public void messageArrived(String topic, MqttMessage message) throws Exception { // N.B. MQTT will close the connection if this unwinds try { logger.trace("{} received topic:{} qos:{} isRetained:{} {} bytes", id(), topic, message.getQos(), message.isRetained(), message.getPayload().length); notIdle(); subscriber.messageArrived(topic, message); } catch (Exception e) { logger.error("{} messageArrived handling failed", id(), e); } }