Skip to content

RestartListener is republishing ApplicationPreparedEvent #1248

@spencergibb

Description

@spencergibb

See original issue spring-projects/spring-boot#35878

Spring Cloud Context needs the Application in a few places. Using a custom event handles those situations and fixes the OPs issue.

Spring Cloud Context has been doing this since the early days, so we are going to restrict the fix to 4.0+ in case anyone is, even if inadvertently, relying on this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions