Github user swgkg commented on a diff in the pull request: https://github.com/apache/stratos/pull/50#discussion_r22141443 --- Diff: components/org.apache.stratos.manager/src/main/java/org/apache/stratos/manager/listener/InstanceStatusListener.java --- @@ -26,71 +31,108 @@ import org.apache.stratos.messaging.event.instance.status.InstanceStartedEvent; import org.apache.stratos.messaging.util.Constants; import org.apache.stratos.messaging.util.Util; +import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken; +import org.eclipse.paho.client.mqttv3.MqttCallback; +import org.eclipse.paho.client.mqttv3.MqttMessage; -import javax.jms.Message; -import javax.jms.MessageListener; -import javax.jms.TextMessage; -import java.util.Set; +public class InstanceStatusListener implements MqttCallback { + + private static final Log log = LogFactory.getLog(InstanceStatusListener.class); + + @Override + public void connectionLost(Throwable arg0) { + // TODO Auto-generated method stub --- End diff -- Thanks Johann. Yeah it is better to have proper comments instead of the leaving IDE default.Currently this method is updated with the implementation.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---