Package org.jboss.jms.util

Examples of org.jboss.jms.util.MessageQueueNameHelper


   public void testQueueName()
   {
      String name = "clientid123.mysub";
     
      MessageQueueNameHelper helper = MessageQueueNameHelper.createHelper(name);
     
      assertEquals("clientid123", helper.getClientId());
      assertEquals("mysub", helper.getSubName());
   }
View Full Code Here


            String subName = null;
            String clientID = null;
           
            if (queue.isRecoverable())
            {
               MessageQueueNameHelper helper = MessageQueueNameHelper.createHelper(queue.getName());
               subName = helper.getSubName();
               clientID = helper.getClientId();
            }
           
            SubscriptionInfo info = new SubscriptionInfo(queue.getName(), queue.isRecoverable(), subName, clientID,
                     queue.getFilter() == null ? null : queue.getFilter().getFilterString(), queue.getMessageCount(), queue.getMaxSize());
           
View Full Code Here

            String subName = null;
            String clientID = null;
           
            if (queue.isRecoverable())
            {
               MessageQueueNameHelper helper = MessageQueueNameHelper.createHelper(queue.getName());
               subName = helper.getSubName();
               clientID = helper.getClientId();
            }
           
            sb.append("<tr><td>").append(queue.getName()).append("</td>");
            sb.append("<td>").append(queue.isRecoverable() ? "Durable" : "Non Durable").append("</td>");
            sb.append("<td>").append(subName != null ? subName : "").append("</td>");
View Full Code Here

TOP

Related Classes of org.jboss.jms.util.MessageQueueNameHelper

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.