Spring Integration is introducing a new spring.integration.keep-alive property which will create a keep-alive thread based on this logic. We could surface this property in Spring Boot, however, we already have spring.main.keep-alive.
We need to consider what we should do by default, specifically:
- If
spring.main.keep-alive is true then there is no need to Spring Integration to create a thread
- If
spring.main.keep-alive is missing then standard Spring Integration logic should apply
- If
spring.main.keep-aliveis false we may need to also disable Spring Integration keep alive
- If we don't do the above, we need to offer a way to turn off Spring Integration keep alive threads
Spring Integration is introducing a new
spring.integration.keep-aliveproperty which will create a keep-alive thread based on this logic. We could surface this property in Spring Boot, however, we already havespring.main.keep-alive.We need to consider what we should do by default, specifically:
spring.main.keep-aliveistruethen there is no need to Spring Integration to create a threadspring.main.keep-aliveis missing then standard Spring Integration logic should applyspring.main.keep-aliveisfalsewe may need to also disable Spring Integration keep alive