Package org.jboss.messaging.core.contract

Examples of org.jboss.messaging.core.contract.Queue.deactivate()


         {
            //https://jira.jboss.org/jira/browse/JBMESSAGING-1698
            log.warn("Cannot find counter to unregister " + counterName);
         }
        
         queue.deactivate();
        
         queue.unload();
        
         started = false;
        
View Full Code Here


            {
               // Unbind
               po.removeBinding(queue.getName(), false);
            }
                       
            queue.deactivate();
           
            queue.unload();
           
            //unregister counter
            String counterName = SUBSCRIPTION_MESSAGECOUNTER_PREFIX + queue.getName();
View Full Code Here

/* 162 */       if (counter == null)
/*     */       {
/* 164 */         throw new IllegalStateException("Cannot find counter to unregister " + counterName);
/*     */       }
/*     */
/* 167 */       queue.deactivate();
/*     */
/* 169 */       queue.unload();
/*     */
/* 171 */       this.started = false;
/*     */
View Full Code Here

/* 146 */         if (!queue.isRecoverable())
/*     */         {
/* 149 */           po.removeBinding(queue.getName(), false);
/*     */         }
/*     */
/* 152 */         queue.deactivate();
/*     */
/* 154 */         queue.unload();
/*     */
/* 157 */         String counterName = "Subscription." + queue.getName();
/*     */
View Full Code Here

/*     */
/* 335 */       queue.handle(null, ref, tx);
/*     */
/* 337 */       if (deactivate)
/*     */       {
/* 339 */         queue.deactivate();
/*     */       }
/*     */     }
/*     */   }
/*     */
/*     */   void handleAcks(Transaction tx)
View Full Code Here

/*     */
/* 401 */         del.acknowledge(tx);
/*     */
/* 403 */         if (deactivate)
/*     */         {
/* 405 */           queue.deactivate();
/*     */         }
/*     */       }
/*     */       catch (Throwable t)
/*     */       {
/* 410 */         log.error("Failed to acknowledge " + del + " during recovery", t);
View Full Code Here

            {
               // Unbind
               po.removeBinding(queue.getName(), false);
            }
                       
            queue.deactivate();
           
            queue.unload();
           
            //unregister counter
            String counterName = SUBSCRIPTION_MESSAGECOUNTER_PREFIX + queue.getName();
View Full Code Here

         if (counter == null)
         {
            throw new IllegalStateException("Cannot find counter to unregister " + counterName);
         }
        
         queue.deactivate();
        
         queue.unload();
        
         started = false;
        
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.