sdeleuze
01/04/2017, 2:42 PMWebClient
reactive HTTP client has a more flexible APIsdeleuze
01/04/2017, 2:43 PMRestTemplate
rocketraman
01/04/2017, 2:48 PMsdeleuze
01/04/2017, 2:50 PMdh44t
01/04/2017, 2:53 PMyousuf.haque
01/05/2017, 2:57 AMsdeleuze
01/05/2017, 6:31 AMsdeleuze
01/05/2017, 9:36 AMjames_bassett
01/08/2017, 9:41 PMerikthered
01/09/2017, 7:06 PM@ConfigurationProperties
with Kotlin?michael.barker
01/09/2017, 7:10 PMerikthered
01/09/2017, 7:13 PMerikthered
01/09/2017, 8:01 PM@ConfigurationProperties(prefix = "myProperties")
class MyProperties(var key1: String = "", var key2: String = "")
@Configuration
@EnableConfigurationProperties(MyProperties::class)
class MyConfiguration constructor(myProperties: MyProperties) {
init {
doSomething(myProperties.key1, myProperties.key2)
}
}
irus
01/09/2017, 9:28 PMsdeleuze
01/09/2017, 9:30 PMsdeleuze
01/10/2017, 9:56 AMsdeleuze
01/10/2017, 9:56 AMsdeleuze
01/10/2017, 9:57 AMApplicationContext
paramamter instead of using a closureorangy
c.registerBean<A>()
?orangy
GenericApplicationContext
could be useful:
val c = GenericApplicationContext {
registerBean<A>()
registerBean<B>()
}
that would be something like
fun GenericApplicationContext(configure: GenericApplicationContext.()->Unit) = GenericApplicationContext().apply(configure)
sdeleuze
01/10/2017, 8:04 PMsdeleuze
01/10/2017, 8:04 PMsdeleuze
01/10/2017, 8:04 PMorangy
sdeleuze
01/10/2017, 8:12 PMsdeleuze
01/10/2017, 8:12 PMsdeleuze
01/10/2017, 8:13 PMsdeleuze
01/10/2017, 8:13 PMGenericApplicationContext
right nowsdeleuze
01/10/2017, 8:14 PMorangy
"/api/event" {
invoke on a String, I doubt it is a good idea… I don’t have specific arguments against it though, but my gut feeling tells me it’s too much for a DSL