See https://github.com/spring-projects/spring-framework/issues/31453#issuecomment-1787252754 While we don't support the embedded broker in native images; the problem seems to be that the broker is not shut down properly.