Package org.jboss.jms.destination

Examples of org.jboss.jms.destination.JBossTemporaryTopic


      // As per spec. section 4.11
      if (sessionType == TYPE_QUEUE_SESSION)
      {
         throw new IllegalStateException("Cannot create a temporary topic on a QueueSession");
      }
      JBossTemporaryTopic topic = new JBossTemporaryTopic(delegate);
      delegate.addTemporaryDestination(topic);
      return topic;
   }
View Full Code Here


      while (iter.hasNext())
      {
         ManagedDestination dest = (ManagedDestination)iter.next();
         if (dest.isTemporary())
         {
            destinations.add(new JBossTemporaryTopic(dest.getName()));
         }
         else
         {
            destinations.add(new JBossTopic(dest.getName()));
         }
View Full Code Here

      // As per spec. section 4.11
      if (sessionType == TYPE_QUEUE_SESSION)
      {
         throw new IllegalStateException("Cannot create a temporary topic on a QueueSession");
      }
      JBossTemporaryTopic topic = new JBossTemporaryTopic(delegate);
      delegate.addTemporaryDestination(topic);
      return topic;
   }
View Full Code Here

      while (iter.hasNext())
      {
         ManagedDestination dest = (ManagedDestination)iter.next();
         if (dest.isTemporary())
         {
            destinations.add(new JBossTemporaryTopic(dest.getName()));
         }
         else
         {
            destinations.add(new JBossTopic(dest.getName()));
         }
View Full Code Here

/* 220 */     while (iter.hasNext())
/*     */     {
/* 222 */       ManagedDestination dest = (ManagedDestination)iter.next();
/* 223 */       if (dest.isTemporary())
/*     */       {
/* 225 */         destinations.add(new JBossTemporaryTopic(dest.getName()));
/*     */       }
/*     */       else
/*     */       {
/* 229 */         destinations.add(new JBossTopic(dest.getName()));
/*     */       }
View Full Code Here

/*     */   {
/* 361 */     if (this.sessionType == 1)
/*     */     {
/* 363 */       throw new IllegalStateException("Cannot create a temporary topic on a QueueSession");
/*     */     }
/* 365 */     JBossTemporaryTopic topic = new JBossTemporaryTopic(this.delegate);
/* 366 */     this.delegate.addTemporaryDestination(topic);
/* 367 */     return topic;
/*     */   }
View Full Code Here

      // As per spec. section 4.11
      if (sessionType == TYPE_QUEUE_SESSION)
      {
         throw new IllegalStateException("Cannot create a temporary topic on a QueueSession");
      }
      JBossTemporaryTopic topic = new JBossTemporaryTopic(delegate);
      delegate.addTemporaryDestination(topic);
      return topic;
   }
View Full Code Here

TOP

Related Classes of org.jboss.jms.destination.JBossTemporaryTopic

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.