stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johannnallathamby <...@git.apache.org>
Subject [GitHub] stratos pull request: Messaging model changes and MQTT integration
Date Fri, 19 Dec 2014 19:09:14 GMT
Github user johannnallathamby commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/50#discussion_r22122471
  
    --- 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 --
    
    Proper comments can be added instead of leaving IDE defaults


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message