title: Spring Cloud Gateway - Unable to find GatewayFilterFactory with name [Filter_Name]
body: <p>I have a spring cloud gateway application. I am trying to setup a gateway filter. The Spring Boot version is <code>2.3.4.RELEASE</code> Here are the dependencies:</p>
  <pre><code>dependencies {
      implementation 'org.springframework.boot:spring-boot-starter'
      implementation platform(SpringBootPlugin.BOM_COORDINATES)
      implementation platform('org.springframework.cloud:spring-cloud-dependencies:Hoxton.SR8')
      implementation 'org.springframework.boot:spring-boot-starter-actuator'
      implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
      implementation 'org.springframework.cloud:spring-cloud-starter-sleuth'
      implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
  
  }
  </code></pre>
  <p>Here is the configutraion for the gateway client</p>
  <pre><code>server:
    port: 8081
  spring:
    cloud:
      gateway:
        routes:
          - id: onboard_redirect
            uri: http://localhost:8080/api/v1/onboard
            predicates:
              - Path=/api/v1/onboard
            filters:
              - name: MyLogging
                args:
                  baseMessage: My Custom Message
                  preLogger: true
                  postLogger: true
  </code></pre>
  <p>Here is my filter class:</p>
  <pre><code>@Component
  public class MyLoggingGatewayFilterFactory extends AbstractGatewayFilterFactory&lt;MyLoggingGatewayFilterFactory.Config&gt; {
  
      final Logger logger =
              LoggerFactory.getLogger(MyLoggingGatewayFilterFactory.class);
  
      public MyLoggingGatewayFilterFactory() {
          super(Config.class);
      }
  
      @Override
      public GatewayFilter apply(Config config) {
          return (exchange, chain) -&gt; {
              // Pre-processing
              if (config.preLogger) {
                  logger.info(&quot;Pre GatewayFilter logging: &quot;
                          + config.baseMessage);
              }
              return chain.filter(exchange)
                      .then(Mono.fromRunnable(() -&gt; {
                          // Post-processing
                          if (config.postLogger) {
                              logger.info(&quot;Post GatewayFilter logging: &quot;
                                      + config.baseMessage);
                          }
                      }));
          };
      }
  
      public static class Config {
          public String baseMessage;
          public boolean preLogger;
          public boolean postLogger;
      }
  }
  </code></pre>
  <p>Everything works without configuring the filter but when I configure the filter I get follwing error:</p>
  <pre><code>reactor.core.Exceptions$ErrorCallbackNotImplemented: java.lang.IllegalArgumentException: Unable to find GatewayFilterFactory with name MyLogging
  Caused by: java.lang.IllegalArgumentException: Unable to find GatewayFilterFactory with name MyLogging
  </code></pre>
  <p>what I am doing wrong here?</p>