code: @SuppressWarnings("unchecked")
      public void raConfigure(ConfigProperties properties) {
          String httpClientFactoryClassName = (String) properties.getProperty(CFG_PROPERTY_HTTP_CLIENT_FACTORY)
                  .getValue();
          if (httpClientFactoryClassName.isEmpty()) {
              maxTotal = (Integer) properties.getProperty(CFG_PROPERTY_MAX_CONNECTIONS_TOTAL).getValue();
  
              maxForRoutes = new HashMap<HttpRoute, Integer>();
  
              defaultMaxForRoute = (Integer) properties.getProperty(CFG_PROPERTY_DEFAULT_MAX_FOR_ROUTE).getValue();
  
              String maxForRoutesString = (String) properties.getProperty(CFG_PROPERTY_MAX_CONNECTIONS_FOR_ROUTES)
                      .getValue();
  
              String[] maxForRoutesStrings = maxForRoutesString.split(",");
  
              for (String maxForRoute : maxForRoutesStrings) {
                  if (maxForRoute.isEmpty()) {
                      continue;
                  }
                  String[] maxForRouteParts = maxForRoute.split(":");
  
                  String scheme = maxForRouteParts[HTTP_SCHEME_INDEX];
                  if (scheme == null || scheme.equals("")) {
                      scheme = HttpHost.DEFAULT_SCHEME_NAME;
                  }
  
                  String host = maxForRouteParts[HTTP_HOST_INDEX];
  
                  String portStr = maxForRouteParts[HTTP_PORT_INDEX];
                  if (portStr == null || portStr.equals("")) {
                      portStr = "80";
                  }
  
                  int port = Integer.parseInt(portStr);
  
                  String maxForRoutePartsStr = maxForRouteParts[HTTP_MAXFORROUTE_INDEX];
                  Integer max = Integer.valueOf(maxForRoutePartsStr);
  
                  HttpRoute httpRoute = new HttpRoute(new HttpHost(host, port, scheme));
  
                  maxForRoutes.put(httpRoute, max);
              }
          } else {
              try {
                  httpClientFactory = ((Class<? extends HttpClientFactory>) Class.forName(httpClientFactoryClassName))
                          .newInstance();
              } catch (Exception e) {
                  tracer.severe("failed to load http client factory class", e);
              }
          }
      }
docs: /*
  (non-Javadoc)
  
  @see javax.slee.resource.ResourceAdaptor#raConfigure(javax.slee.resource.
  ConfigProperties)