aaverin
01/16/2017, 2:06 PM@ConfigurationProperties(prefix = "app")
@Entity
class AppProperties {
var test: String? = null
@Valid
var http: Http? = null
@Valid
var async: Async? = null
}
class Http {
var serverTimeout: Int = 0
var clientConnectTimeout: Int = 0
var clientReadTimeout: Int = 0
}
class Async {
val threadsPerProcessor: Int = 0
val workQueueCapacity: Int = 0
}