Skip to content

Conversation

@artembilan
Copy link
Member

Fixes: #9455
Issue link: #9455

  • Add an IntegrationKeepAlive infrastructure bean to initiate a long-lived non-daemon thread to keep application alive when it cannot be kept like that for various reason, but has to.
  • Expose spring.integration.keepAlive global property to disable an IntegrationKeepAlive auto-startup
  • Test and document the feature

Fixes: #9455
Issue link: #9455

* Add an `IntegrationKeepAlive` infrastructure bean to initiate a long-lived non-daemon thread
to keep application alive when it cannot be kept like that for various reason, but has to.
* Expose `spring.integration.keepAlive` global property to disable an `IntegrationKeepAlive` auto-startup
* Test and document the feature
@artembilan artembilan added this to the 6.4.0-RC1 milestone Sep 20, 2024
@artembilan artembilan removed this from the 6.4.0-RC1 milestone Sep 20, 2024
@artembilan
Copy link
Member Author

@sobychacko ,

when this is merged, let's chat about Spring Cloud Stream.
If I recall correctly, there is some hook in the framework making an application keep-alive.
Since this feature is now in Spring Integration, no need to manage it over there any more after upgrading to this latest version.

@artembilan artembilan merged commit 8f838d0 into main Sep 25, 2024
3 checks passed
artembilan added a commit that referenced this pull request Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Application shuts down immediately after connecting to a websocket

3 participants