Add auto-configuration for JmsClient.Builder#49853
Add auto-configuration for JmsClient.Builder#49853vpavic wants to merge 1 commit intospring-projects:mainfrom
Conversation
This commit adds auto-configuration for `JmsClient.Builder` prototype bean in order to enable reuse of preconfigured instances for further customization (for example, message conversion), similar to usages of `JsonMapper.Builder`, `RestClient.Builder` and others that follow the same pattern. Signed-off-by: Vedran Pavic <vedran@vedranpavic.com>
|
@vpavic can you please clarify (besides consistency) what you're looking for here? Contrary to the builder you've described, |
|
I'm not looking for consistency (that's just a side effect) but rather exactly what commit message describes:
This is analogous to how I use While migrating one project from |
I read the commit if that's what you were trying to point out. The problem here is that the builder is created by a
It isn't. The change is too weak at this point to be considered. If we provide a builder it must always be provided with the auto-configuration applied to it and the curent API makes it quite hard to do so. That's also why this wasn't provided in the first place. |
This commit adds auto-configuration for
JmsClient.Builderprototype bean in order to enable reuse of preconfigured instances for further customization (for example, message conversion), similar to usages ofJsonMapper.Builder,RestClient.Builderand others that follow the same pattern.