Package org.objectweb.joram.client.jms.connection

Examples of org.objectweb.joram.client.jms.connection.AbortedRequestException


      logger.log(
        BasicLevel.DEBUG, "MessageConsumerListener.replyReceived(" +
        reply + ')');
   
    if (status == Status.CLOSE)
      throw new AbortedRequestException();

    if (queueMode) {
      // 1- Change the status before pushing the  messages into the session queue.
      setReceiveStatus(ReceiveStatus.CONSUMING_REPLY);
    }
   
    try {
      ConsumerMessages cm = (ConsumerMessages)reply;
      // 2- increment messageCount (synchronized)
      messageCount += cm.getMessageCount();
     
      pushMessages(cm);
    } catch (StoppedQueueException exc) {
      throw new AbortedRequestException();
    } catch (JMSException exc) {
      throw new AbortedRequestException();
    }
   
    if (queueMode) {
      return true;
    }
View Full Code Here

TOP

Related Classes of org.objectweb.joram.client.jms.connection.AbortedRequestException

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.