final String preFiltersPath = config.getString(ZUUL_FILTER_PRE_PATH);
final String postFiltersPath = config.getString(ZUUL_FILTER_POST_PATH);
final String routingFiltersPath = config.getString(ZUUL_FILTER_ROUTING_PATH);
final String customPath = config.getString(ZUUL_FILTER_CUSTOM_PATH);
FilterLoader.getInstance().setCompiler(new GroovyCompiler());
FilterFileManager.setFilenameFilter(new GroovyFileFilter());
if (customPath == null) {
FilterFileManager.init(5, preFiltersPath, postFiltersPath, routingFiltersPath);
} else {
FilterFileManager.init(5, preFiltersPath, postFiltersPath, routingFiltersPath, customPath);