Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using 'feign clients' without springboot is possible?

My framework is spring framework. core version is 4.3.16.RELEASE. Not using springboot. It's one of the legacy project.

And I wanna know what can I use the feign client without springboot.

Is this possible? and where can I found document about that.

thanks for your help :)

like image 631
Jin Avatar asked Sep 13 '25 10:09

Jin


1 Answers

Yes, it's possible. You can find the documentation on their Github page.

Feign wasn't integrated with Spring initially. There is another wrapper library called Spring Cloud OpenFeign, and with it, you can use Feign in Spring Boot & Cloud applications more convenient (eg., you can use Spring's @RequestMapping annotation instead of default Feign's @RequestLine).

like image 197
amseager Avatar answered Sep 16 '25 02:09

amseager