Examples of recoverDeliveries()


Examples of org.jboss.jms.client.delegate.ClientSessionDelegate.recoverDeliveries()

      if (transacted || xa || acknowledgeMode == Session.CLIENT_ACKNOWLEDGE)
      {
         //Note! We ALWAYS call recoverDeliveries even if there are no deliveries since it also does other stuff
         //like remove from recovery Area refs corresponding to messages in client consumer buffers
        
        newDelegate.recoverDeliveries(recoveryInfos, oldSessionID);
      }
   }
  
   // Public ---------------------------------------------------------------------------------------
View Full Code Here

Examples of org.jboss.jms.client.delegate.ClientSessionDelegate.recoverDeliveries()

/*     */
/* 354 */     log.trace(this + " sending delivery recovery " + recoveryInfos + " on failover");
/*     */
/* 357 */     if ((this.transacted) || (this.xa) || (this.acknowledgeMode == 2))
/*     */     {
/* 359 */       newDelegate.recoverDeliveries(recoveryInfos, oldSessionID);
/*     */     }
/*     */   }
/*     */
/*     */   public void setTreatAsNonTransactedWhenNotEnlisted(boolean b)
/*     */   {
View Full Code Here

Examples of org.jboss.jms.client.delegate.ClientSessionDelegate.recoverDeliveries()

      log.trace(this + " sending delivery recovery " + recoveryInfos + " on failover");
     
      //Note we only recover sessions that are transacted or client ack
      if (transacted || xa || acknowledgeMode == Session.CLIENT_ACKNOWLEDGE)
      {
        newDelegate.recoverDeliveries(recoveryInfos, oldSessionID);
      }
   }
  
   // Public ---------------------------------------------------------------------------------------
View Full Code Here

Examples of org.jboss.jms.delegate.SessionEndpoint.recoverDeliveries()

      if (endpoint == null)
      {
         throw new IllegalStateException("Cannot find object in dispatcher with id " + objectId);
      }
     
      endpoint.recoverDeliveries(dels, sessionID);
     
      return null;
   }

   public void write(DataOutputStream os) throws Exception
View Full Code Here

Examples of org.jboss.jms.delegate.SessionEndpoint.recoverDeliveries()

/*  91 */     if (endpoint == null)
/*     */     {
/*  93 */       throw new IllegalStateException("Cannot find object in dispatcher with id " + this.objectId);
/*     */     }
/*     */
/*  96 */     endpoint.recoverDeliveries(this.dels, this.sessionID);
/*     */
/*  98 */     return null;
/*     */   }
/*     */
/*     */   public void write(DataOutputStream os) throws Exception
View Full Code Here

Examples of org.jboss.jms.server.endpoint.SessionEndpoint.recoverDeliveries()

      if (endpoint == null)
      {
         throw new IllegalStateException("Cannot find object in dispatcher with id " + objectId);
      }
     
      endpoint.recoverDeliveries(dels);
     
      return null;
   }

   public void write(DataOutputStream os) throws Exception
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.