Zoran Regvart created CAMEL-12499: ------------------------------------- Summary: Quoting map keys no longer needed Key: CAMEL-12499 URL: https://issues.apache.org/jira/browse/CAMEL-12499 Project: Camel Issue Type: Sub-task Components: camel-spring-boot-starters Reporter: Zoran Regvart Assignee: Zoran Regvart Fix For: 2.22.0
Spring Boot no longer requires that the map keys in the configuration properties are quoted, in 2.0 if the quotes are given they are taken literally. For example: {code:java} custom.map['key'] = value{code} populates the {{map}} property with key equal to {{"'key'"}}. The recommended way would be to use the dot notation, or in this example: {code:java} custom.map.key = value{code} The angle brackets syntax is supported and should work but users need to be aware that the content between the angle brackets is taken verbatim. There is a [test|https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel/job/master/289/testReport/org.apache.camel.component.kubernetes.springboot.test.cluster/KubernetesClusterServiceAutoConfigurationTest/testPropertiesMapped/] in the {{camel-kubernetes-starter}} that failed on CI because of this change. -- This message was sent by Atlassian JIRA (v7.6.3#76005)