if (m.matches()) {
String password = m.group(2);
String host = m.group(3);
String port = m.group(4);
String channel = m.group(5);
JedisPool pool = new JedisPool( new JedisPoolConfig(), host, Integer.parseInt(port), timeoutMS, password);
Jedis connection = pool.getResource();
long numClients = connection.publish(channel, message.getMessage());
long timeTaken = System.currentTimeMillis() - startTime;
logger.debug("event=send_redis endpoint=" + endpoint + " num_clients=" + numClients + " conn=new resp_ms=" + timeTaken);
pool.returnResource(connection);