Package org.jboss.jms.destination

Examples of org.jboss.jms.destination.JBossQueue


        
         org.jboss.messaging.core.contract.Queue expiryQueue = ServerManagement.getServer().getServerPeer().getDefaultExpiryQueueInstance();
  
         assertNotNull(expiryQueue);
  
         JBossQueue q = (JBossQueue)ic.lookup("/queue/ExpiryQueue");

         assertNotNull(q);

         assertEquals("ExpiryQueue", q.getName());
      }
      finally
      {
         ServerManagement.undeployQueue("ExpiryQueue");
      }
View Full Code Here


        
         org.jboss.messaging.core.contract.Queue dlq = ServerManagement.getServer().getServerPeer().getDefaultDLQInstance();

         assertNotNull(dlq);

         JBossQueue q = (JBossQueue)ic.lookup("/queue/DLQ");

         assertNotNull(q);

         assertEquals("DLQ", q.getName());
      }
      finally
      {
         ServerManagement.undeployQueue("DLQ");
      }
View Full Code Here

      JBossDestination jbd2;
     
      if (isQueue())
      {
         jbd2 = new JBossQueue("PageableAttributes");
      }
      else
      {
         jbd2 = new JBossTopic("PageableAttributes");
      }
View Full Code Here

  MessageSucker(Queue localQueue, Session sourceSession, Session localSession,
                boolean preserveOrdering, long sourceChannelID)
   { 
      if (trace) { log.trace("Creating message sucker, localQueue:" + localQueue + " preserveOrdering:" + preserveOrdering); }
     
      this.jbq = new JBossQueue(localQueue.getName(), true);
     
      this.localQueue = localQueue;
     
      this.sourceSession = sourceSession;
     
View Full Code Here

        
         JBossDestination jbDest;
        
         if (destination.isQueue())
         {
            jbDest = new JBossQueue(destination.getName());
         }
         else
         {
            jbDest = new JBossTopic(destination.getName());
         }
View Full Code Here

         {
            destinations.add(new JBossTemporaryQueue(dest.getName()));
         }
         else
         {
            destinations.add(new JBossQueue(dest.getName()));
         }
      }
     
      iter = topicMap.values().iterator();
      while (iter.hasNext())
View Full Code Here

         if (dest == null)
         {
            throw new JMSException("There is no administratively defined queue with name:" + name);
         }

         return new JBossQueue(dest.getName());
      }
      catch (Throwable t)
      {
         throw ExceptionUtil.handleJMSInvocation(t, this + " createQueue");
      }
View Full Code Here

      String consumerID = GUIDGenerator.generateGUID();

      int prefetchSize = connectionEndpoint.getPrefetchSize();

      JBossDestination dest = new JBossQueue(queueName);

      //We don't care about redelivery delays and number of attempts for a direct consumer

      ServerConsumerEndpoint ep =
         new ServerConsumerEndpoint(consumerID, binding.queue,
View Full Code Here

         if (dest == null)
         {
            throw new JMSException("There is no administratively defined queue with name:" + name);
         }

         return new JBossQueue(dest.getName());
      }
      catch (Throwable t)
      {
         throw ExceptionUtil.handleJMSInvocation(t, this + " createQueue");
      }
View Full Code Here

      String consumerID = GUIDGenerator.generateGUID();

      int prefetchSize = connectionEndpoint.getPrefetchSize();

      JBossDestination dest = new JBossQueue(queueName);

      //We don't care about redelivery delays and number of attempts for a direct consumer

      ServerConsumerEndpoint ep =
         new ServerConsumerEndpoint(consumerID, binding.queue,
View Full Code Here

TOP

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

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.