consumers.put(matcher, new HttpServerChannelHandler(consumer));
}
public void removeConsumer(NettyHttpConsumer consumer) {
String path = pathAsKey(consumer.getConfiguration().getPath());
ContextPathMatcher matcher = new DefaultContextPathMatcher(path, consumer.getConfiguration().isMatchOnUriPrefix());
consumers.remove(matcher);
}