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

Most upvoted comments

My vote is option 2