solace-spring-cloud
solace-spring-cloud copied to clipboard
Clearer Configuration Options for Enum Types That Need Numerical Values
The Spring Cloud Stream Starter docs tell you to use the static variable values for specifying things like queueAccessType
, but you can't actually use those (such as EndpointProperties.ACCESSTYPE_NONEXCLUSIVE) in the properties/yaml file. You need to specify the numerical value that it represents.
The fields like the ones below should be updated to state the default, but also the other options and what the valid numerical values are.
Actually I wonder if Spring Boot can support multiple types. If it can, I wonder if we can add support for Enum values for each of these or resolve these "strings" into their real numerical values somehow.
I think this is something worth looking into when we come around to fix this.