code: @SuppressWarnings("unchecked")
      public void raVerifyConfiguration(ConfigProperties properties) throws InvalidConfigurationException {
          String httpClientFactoryClassName = (String) properties.getProperty(CFG_PROPERTY_HTTP_CLIENT_FACTORY)
                  .getValue();
          if (!httpClientFactoryClassName.isEmpty()) {
              try {
                  Class<? extends HttpAsyncClientFactory> c = (Class<? extends HttpAsyncClientFactory>) Class
                          .forName(httpClientFactoryClassName);
                  c.newInstance();
              } catch (Exception e) {
                  tracer.severe("failed to load http client factory class", e);
                  throw new InvalidConfigurationException("failed to load http client factory class", e);
              }
          } else {
              try {
                  Integer j = (Integer) properties.getProperty(CFG_PROPERTY_MAX_CONNECTIONS_TOTAL).getValue();
                  if (j < 1) {
                      throw new InvalidConfigurationException(CFG_PROPERTY_MAX_CONNECTIONS_TOTAL + " must be > 0");
                  }
  
                  j = (Integer) properties.getProperty(CFG_PROPERTY_DEFAULT_MAX_CONNECTIONS_PER_ROUTE).getValue();
                  if (j < 1) {
                      throw new InvalidConfigurationException(CFG_PROPERTY_DEFAULT_MAX_CONNECTIONS_PER_ROUTE
                              + " must be > 0");
                  }
  
                  j  = (Integer) properties.getProperty(CFG_PROPERTY_DEFAULT_CONNECT_TIMEOUT).getValue();
                  if (j < 1) {
                      throw new InvalidConfigurationException(CFG_PROPERTY_DEFAULT_CONNECT_TIMEOUT
                              + " must be > 0");
                  }
  
                  j = (Integer) properties.getProperty(CFG_PROPERTY_DEFAULT_SOCKET_TIMEOUT).getValue();
                  if (j < 1) {
                      throw new InvalidConfigurationException(CFG_PROPERTY_DEFAULT_SOCKET_TIMEOUT
                              + " must be > 0");
                  }
              } catch (InvalidConfigurationException e) {
                  throw e;
              } catch (Exception e) {
                  tracer.severe("failure in config validation", e);
                  throw new InvalidConfigurationException(e.getMessage());
              }
          }
  
      }
docs: /*
  (non-Javadoc)
  
  @see
  javax.slee.resource.ResourceAdaptor#raVerifyConfiguration(javax.slee.
  resource.ConfigProperties)