Package org.apache.stratos.messaging.event.ping

Examples of org.apache.stratos.messaging.event.ping.PingEvent


        // to detect a connection drop. Otherwise the subscriber will not
                // get reconnected after a connection drop.
        Thread.sleep(1000);
        testConnector.init(topicName);
                // A ping event is published to detect a session timeout
                EventPublisherPool.getPublisher(Constants.PING_TOPIC).publish(new PingEvent(), false);
      } catch (Exception e) {
        // Implies connection is not established
        // sleep for 30 sec and retry
        try {
          log.error(topicName + " topic health checker is failed and will try to subscribe again in 30 sec");
View Full Code Here

TOP

Related Classes of org.apache.stratos.messaging.event.ping.PingEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.