Amir Pashazadeh
Amir Pashazadeh

Reputation: 7322

Using Spring WebClient to exchange messages on microservices preventing boilerplate codes

Spring now says Spring Cloud OpenFeign is feature-complete, and won't be developed anymore. And they promote using WebClient instead of OpenFeign.

OpenFeign proxies can resolve other service from discovery service behind the scene, but creating a proxy for each interface with WebClient makes us have lots of boilerplate code.

Isn't there anyway to avoid all those boilerplate codes, and create proxies backed by WebClient on the fly?

Upvotes: 0

Views: 39

Answers (0)

Related Questions