Amir Pashazadeh opened SPR-17536 and commented
In the later example documentation describes a situation for Subsystem A and SubSystem B, the example must perform the same thing on both, but it does not. I believe its some typo in the example XML, and must become:
<alias name="subsystemA-dataSource" alias="myApp-dataSource"/>
<alias name="subsystemB-dataSource" alias="myApp-dataSource" />
Affects: 5.1.2
Reference URL: https://docs.spring.io/spring/docs/5.1.2.RELEASE/spring-framework-reference/core.html#beans-beanname-alias
Referenced from: commits 80b8382, 0761446, 9600e01
Backported to: 5.0.11, 4.3.21