title: Using dynamic URL for Spring ReactiveFeignClient
body: <p>I'm using <a href="https://github.com/Playtika/feign-reactive" rel="nofollow noreferrer">ReactiveFeignClient from Playtika</a>
  I need to use dynamic URL especially for the host part because I want to use the same interface for several services that have the same request and response formats, but different host. The URLs on each service can have different host name and prefix, but all have the same suffix.
  For example:</p>
  <ul>
  <li>http://localhost:3001/games/purchase</li>
  <li>http://localhost:3002/gadgets/phone/purchase</li>
  </ul>
  <p>Actually I don't know whether it has the same behavior as non-reactive feign client. I follow the suggestion on <a href="https://stackoverflow.com/questions/43733569/how-can-i-change-the-feign-url-during-the-runtime">How can I change the feign URL during the runtime?</a>.</p>
  <p>Here's the client interface.</p>
  <pre><code>@ReactiveFeignClient(
      name = &quot;dummy&quot;,
      configuration = TransactionClient.Configuration.class
  )
  public interface TransactionClient {
  
  //  @PostMapping(&quot;/purchase&quot;) // Using @PostMapping and @RequestLine both don't work
    @RequestLine(&quot;POST /purchase&quot;)
    Mono&lt;PurchaseResponseDto&gt; doPurchase(
        URI baseUrl,
        @Valid @RequestBody PurchaseRequestDto requestDTO
    );
  
    @RequiredArgsConstructor
    class Configuration {
  
      @Bean
      public ReactiveStatusHandler reactiveStatusHandler() {
        return new CustomStatusHandler();
      }
    }
  }
  </code></pre>
  <p>And here's the auto configuration</p>
  <pre><code>@Configuration
  public class TransactionClientServiceAutoConfiguration {
  
    @Bean
    public Contract useFeignAnnotations() {
      return new Contract.Default();
    }
  
    @Bean
    @LoadBalanced
    public TransactionClient botRemoteClient() {
      return Feign.builder().target(Target.EmptyTarget.create(TransactionClient.class));
    }
  }
  </code></pre>
  <p>However, I got error indicating that no service with name dummy. It's just a dummy name indeed, because the name parameter is required for @ReactiveFeignClient annotation and I want to use the interface for multiple services.</p>
  <p>How to make dynamic url possible for @ReactiveFeignClient</p>