Skip to content

PropertiesRestClientHttpServiceGroupConfigurer has highest precedence, preventing other configurers from being ordered ahead of it #48296

@rstoyanchev

Description

@rstoyanchev

PropertiesRestClientHttpServiceGroupConfigurer is ordered at Integer.MIN_VALUE (highest precedence), and it makes sense for properties to be applied first, but arguably it should be possible to order ahead of it, if necessary.

Recently we introduced an option in Spring Framework to supply the initial clientBuilder instance instead of having a default builder. However, right now it's impossible for that to go first, and instead the application of properties triggers default clientBuilder initialization.

We do have possible alternatives, e.g. to defer the application of configurers until all have been provided, but wanted to see first if the order of PropertiesRestClientHttpServiceGroupConfigurer could be updated to something like Integer.MIN_VALUE + 10?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions