Skip to content

Proxied and non-proxied Feign client on the same jvm #801

@herrhilmi

Description

@herrhilmi

I'm using Feign & spring to build a core component, which is interacting with a variety of rest APIs. One of which is behind a proxy. So, the issue is that I can not setup the proxy using the system properties since it will be applied on JVM level and will affect other clients.

In order to resolve this, i've added this library "com.netflix.feign:feign-okhttp" to my project. Which resulted on a bad config and Spring's messages converters behaved wierdly. So, i guess the best solution's to provide another implementation of the Client interface that support proxy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFor recommending new capabilitieswaiting for feedbackIssues waiting for a response from either to the author or other maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions