I want to define global variable in application yaml like this:
thresholdValue : 5
and I want to use this in the code like this (i don't know usage but for example):
if(application.yaml{"thresholdValue"} >= value){
......
}
i searched this question but i found different answers. How can i do this?