solace-spring-cloud icon indicating copy to clipboard operation
solace-spring-cloud copied to clipboard

Clearer Configuration Options for Enum Types That Need Numerical Values

Open Mrc0113 opened this issue 3 years ago • 1 comments

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.

image

Mrc0113 avatar May 13 '21 19:05 Mrc0113

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.

Nephery avatar Feb 03 '22 15:02 Nephery