I have created multiple feign client and multiple interceptors. For the below settings, I could see during invoking client-a both RequestInterceptor1 and RequestInterceptor2 get to execute. I assume only the interceptor configured to the corresponding client should have executed.
feign: client: config: default: connectTimeout: 5000 readTimeout: 5000 loggerLevel: full client-a: errorDecoder: com.org.decoderClientA requestInterceptors: - com.org.BasicAuthRequestInterceptor1 client-b: errorDecoder: com.org.decoderClientB requestInterceptors: - com.org.BasicAuthRequestInterceptor2
Comment From: OlgaMaciaszek
Hello @himnay, please provide a minimal, complete, verifiable example that reproduces the issue.
Comment From: spring-cloud-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-cloud-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.