After #29296, the public constructor and setters are deprecated in favour of using the programmatic builder, and if the builder is used, the setters raise IllegalStateException
, but afterPropertiesSet
and setEmbeddedValueResolver
need to be more lenient and simply do nothing if the builder was used. Currently, setEmbeddedValueResolver
doesn't to that and leads to "IllegalStateException: HttpServiceProxyFactory was created through the builder".
A workaround is to not declare HttpServiceProxyFactory
as a bean.