code: private AbstractConnectionFactory getCachingConnectionFactory(String queueName,
              List<String> processList) throws RabbitmqCommunicateException
      {
          AbstractConnectionFactory connectionFactory = null;
          try
          {
              connectionFactory = (AbstractConnectionFactory) getContextBuilder().getConnectionFactory(
                      queueName);
          }
          catch (Exception ex)
          {
              throw new RabbitmqCommunicateException(ex);
          }
  
          String adresses = StringUtils.join(processList, ',');
          connectionFactory.setAddresses(adresses);
          return connectionFactory;
      }
docs: ConnectionFactoryを取得する。
  
  @param queueName キュー名
  @param processList RabbitMQプロセス一覧
  @return ConnectionFactory
  @throws RabbitmqCommunicateException connectionFactoryを取得できなかった場合