Package jifx.commons.link

Examples of jifx.commons.link.ComunicationException


      topicPublisher.close();
      topicSuscriber.close();
      session.close();
      if (!activate) {
        logger.info(linkName+"|Link: "+linkName+": Terminado por bajada de connection|");
        throw new ComunicationException(Origin.STOP_CONNECTION);
      }
      if ((currentTime - initialTime) >= (timeout*1000)) {
        logger.info(linkName+"|Link: "+linkName+": Terminado por timeout|");
        throw new ComunicationException(Origin.TIMEOUT);
      }
    } catch (NamingException e) {
      logger.error(channelName+"|"+linkName+": "+e.getMessage()+"|");
    } catch (JMSException e) {
      logger.error(channelName+"|"+linkName+": "+e.getMessage()+"|");
View Full Code Here

TOP

Related Classes of jifx.commons.link.ComunicationException

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.