I'm working with SQS spring-boot:spring-cloud, I want to externalize the parameter, retrieve the value based on the active profile
@MessageMapping("static.queue")
public void receiveMessage(Payload payload) {
// ...
}
is there any way to solve this problem?
something like
@MessageMapping("${properties.dynamic}")
public void receiveMessage(Payload payload) {
// ...
}