GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Enable auto-startup for `DefaultMessageListenerContainer` by jhl221123 · Pull Request #4976 · spring-projects/spring-data-mongodb

Conversation

@jhl221123

@jhl221123 jhl221123 commented May 18, 2025

Copy link
Copy Markdown
Contributor

This PR modifies DefaultMessageListenerContainer to enable auto-startup by default, allowing it to participate more fully in the Spring container-managed lifecycle.

Key changes:

  • Introduced an autoStartup boolean property (defaulting to true), making isAutoStartup() return this value.
  • A public setter setAutoStartup(boolean) allows users to disable this behavior if necessary.

Closes #4403

  • You have read the Spring Data contribution guidelines.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

injae-kim reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@jhl221123
Enable auto-startup for DefaultMessageListenerContainer.
680d186
This change modifies DefaultMessageListenerContainer to automatically start when the Spring application context is initialized, by default.

The 'autoStartup' property defaults to true. A setter 'setAutoStartup(boolean)' has been added to allow users to disable this behavior if needed.

Closes spring-projects#4403

Signed-off-by: Junhyeok Lee <[email protected]>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 18, 2025
@mp911de mp911de self-assigned this May 19, 2025
@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels May 19, 2025
@injae-kim injae-kim mentioned this pull request May 20, 2025
Switch DefaultMessageListenerContainer to auto-startup #4403
Closed
@mp911de mp911de changed the title Enable auto-startup for DefaultMessageListenerContainer Enable auto-startup for DefaultMessageListenerContainer Jul 1, 2025
@mp911de mp911de added this to the 5.0 M4 (2025.1.0) milestone Jul 1, 2025
mp911de pushed a commit that referenced this pull request Jul 1, 2025
@jhl221123 @mp911de
Enable auto-startup for DefaultMessageListenerContainer.
431fc7f
This change modifies DefaultMessageListenerContainer to automatically start when the Spring application context is initialized, by default.

The 'autoStartup' property defaults to true. A setter 'setAutoStartup(boolean)' has been added to allow users to disable this behavior if needed.

Closes #4403
Original pull request: #4976

Signed-off-by: Junhyeok Lee <[email protected]>
mp911de added a commit that referenced this pull request Jul 1, 2025
@mp911de
Polishing.
6a0d882
Reformat code, add since tags. Refine test names.

See #4403
Original pull request: #4976
@mp911de

mp911de commented Jul 1, 2025

Copy link
Copy Markdown
Member

Thank you for your contribution. That's merged and polished now.

jhl221123 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mp911de mp911de closed this Jul 1, 2025
@jhl221123 jhl221123 mentioned this pull request Dec 28, 2025
📢오픈소스 기여모임 - 운영진 소개 opensource-contributors-group/opensource-contributors#2
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@mp911de mp911de

Labels

type: enhancement A general enhancement

Projects

None yet

Milestone

5.0 M4 (2025.1.0)

Development

Successfully merging this pull request may close these issues.

Switch DefaultMessageListenerContainer to auto-startup

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@jhl221123 @mp911de @spring-projects-issues
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.