Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-9455: Introduce IntegrationKeepAlive #9493

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

GH-9455: Introduce IntegrationKeepAlive #9493

wants to merge 1 commit into from

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.

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
1 participant