fix(mq): correct the environment post-processor key for spring boot 4

Spring Boot 4 moved EnvironmentPostProcessor from
org.springframework.boot.env to org.springframework.boot, so the
spring.factories registration under the old key no longer loads
ActiveRabbitProfileConfig and RabbitEnvironmentConfig and the
rabbit profile defaults silently disappear.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
pnoker
2026-08-27 09:39:45 +08:00
parent c18077d7e2
commit 4e4d62b651
@@ -14,6 +14,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
org.springframework.boot.env.EnvironmentPostProcessor=\
org.springframework.boot.EnvironmentPostProcessor=\
io.github.pnoker.common.mq.rabbit.config.ActiveRabbitProfileConfig,\
io.github.pnoker.common.mq.rabbit.config.RabbitEnvironmentConfig