Exemple #1
0
 public QueueConfig getQueueConfig(String name) {
   String baseName = getBaseName(name);
   QueueConfig config = lookupByPattern(queueConfigs, baseName);
   if (config != null) {
     return config;
   }
   QueueConfig defConfig = queueConfigs.get("default");
   if (defConfig == null) {
     defConfig = new QueueConfig();
     defConfig.setName("default");
     addQueueConfig(defConfig);
   }
   config = new QueueConfig(defConfig);
   config.setName(name);
   addQueueConfig(config);
   return config;
 }
 public QueueConfig(String name) {
   setName(name);
 }