SpringBoot Kotlin with Kafka utilizing @SendTo does not properly work with Springs- Kotlin property substitution #15036
Labels
for: external-project
For an external project and not something we can fix
status: invalid
An issue that we don't feel is valid
Uh oh!
There was an error while loading. Please reload this page.
Hi,
While working with Spring Boot, Kotlin, Spring Kafka and utilizing Springs Request Reply template
I have stumbled upon an issue here is scenario thats easily replicated
@SendTo
the value in@SendTo
is as followsthe above property definition in
@SendTo
does not resolve and kept as is ${my.output-reply-topic}.The only way this works if I use static declarations or change to use Spring EL using
#{
and not Kotlin supported\${myVal}
... I also tried git issue with custom property resolver that did not work... what works is something like this :@SendTo("#{systemProperties['my.output-response-topic'] ?: 'MY.CMD.CREATE.RESPONSE'}")
The text was updated successfully, but these errors were encountered: