Can what all don't @ EnableRedisRegistery
But most of the writing is to register a RedisConfig analytic properties file, this RedisConfig will also register each redis factory, pool factory, redis template
Why a lot of the system to provide the simplified writing in spring most rarely used in the actual project development using detailed custom custom Config
CodePudding user response:
For example, basic auth this configuration only need to configure the basic paths, realm and the user name password tableBut online example is very complicated, custom auth, custom interceptors, there are very few examples are simplified
Why doesn't spring's various simplified writing mainstream
CodePudding user response:
There is a strange spring's standard restTemplate incredibly don't provide the interface set encoding this function, the most common need getMessageConveters () traversal Settings, just speechlessCodePudding user response:
The most basic configuration, if you don't overlap with your business, then to reform, there is nothing wrong with it!