spring-boot: Wrong generated metadata for properties with successive capital letters
Related to https://github.com/spring-cloud/spring-cloud-stream/issues/396
This could be either an issue for relaxed binding or metadata generation.
Given a property such as: spring.cloud.stream.binder.rabbit.default.autoBindDLQ the generated metadata will be:
{
"name": "spring.cloud.stream.binder.rabbit.default.auto-bind-dlq",
"type": "java.lang.Boolean",
"sourceType": "org.springframework.cloud.stream.binder.rabbit.config.RabbitBinderConfigurationProperties",
"defaultValue": false
}
However, spring.cloud.stream.binder.rabbit.default.auto-bind-dlq does not map back to spring.cloud.stream.binder.rabbit.default.autoBindDLQ (it maps to spring.cloud.stream.binder.rabbit.default.autoBindDlq instead).
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (15 by maintainers)
Commits related to this issue
- Add test to verify binding of a property with all upper-case suffix See gh-5330 — committed to spring-projects/spring-boot by wilkinsona 8 years ago
- Fix property names with successive capital letters Previously, if a property name had successive capital letters, the generated meta-data would clean it in such a way it is defined as a regular word.... — committed to spring-projects/spring-boot by snicoll 8 years ago
My vote is option 2