1

I'm using the following interface definition in my application:

@FeignClient(name = "inventory-manage", 
             configuration = EtermTestRequestShoppingConfiguration.class,
             url="http://xxxx")
public interface EtermTestRequestShopping {

  @RequestMapping(method = RequestMethod.POST, 
                    value = "/inventory/manager/shopping")
  @ResponseBody
  Single<String> shoping(@RequestBody ShoppingSearchReq shoppingSearchReq);
}

How can I change the url value during the runtime?

andih
  • 5,570
  • 3
  • 26
  • 36
liucyu
  • 571
  • 1
  • 4
  • 3
  • Does this answer your question? [How can I change the feign URL during the runtime?](https://stackoverflow.com/questions/43733569/how-can-i-change-the-feign-url-during-the-runtime) – asherbret Jun 08 '20 at 05:52

0 Answers0