Skip to content

Use spring-boot-starter-rabbitmq for Spring Boot 4.2 - #1222

Merged
Brutus5000 merged 1 commit into
developfrom
fix-spring-boot-4.2-rabbitmq
Nov 21, 2026
Merged

Brutus5000 merged 1 commit into
developfrom
fix-spring-boot-4.2-rabbitmq

Conversation

@Brutus5000

@Brutus5000 Brutus5000 commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Since Spring Boot 4.2.0, spring-boot-starter-amqp only provides AMQP 1.0 (protonj2) and no longer pulls in spring-rabbit. This broke compileJava on develop since #1220, so CI has been red since then.

Switches to spring-boot-starter-rabbitmq.

Verified locally: ./gradlew compileJava compileTestJava test passes (282 tests).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • The application’s messaging setup has been updated. This internal change does not alter product features, workflows, or behavior visible to end users. No new user-facing capabilities or fixes are included in this release.

Since 4.2.0 spring-boot-starter-amqp only provides AMQP 1.0 (protonj2) and no
longer pulls in spring-rabbit, which broke compileJava.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The implementation dependency in build.gradle changes from the Spring Boot AMQP starter to the RabbitMQ starter.

Changes: RabbitMQ Starter Dependency

Layer / File(s) Summary
Replace AMQP starter dependency
build.gradle
The implementation dependency declaration now uses the RabbitMQ starter. The Spring Boot AMQP starter is removed.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Minimal · up to 8c44a

This swaps the messaging starter dependency to the one that provides RabbitMQ support in Spring Boot 4.2.0, which fixes the broken compile. No merge-blocking risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the build now uses spring-boot-starter-rabbitmq instead of spring-boot-starter-amqp for Spring Boot 4.2. The raw summary confirms that build.gradle swaps the AMQP star…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the build now uses spring-boot-starter-rabbitmq instead of spring-boot-starter-amqp for Spring Boot 4.2. The raw summary confirms that build.gradle swaps the AMQP starter for the RabbitMQ starter, and the objectives explain that the AMQP starter no longer pulls in spring-rabbit, which broke compileJava. The title is specific and matches the single-line change.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8b694539-eedb-473d-92f5-419e8ad4f2e7
Commits

Reviewing files that changed from the base of the PR and between 6419456 and 8c44a90.

Files selected for processing: 1

  • build.gradle

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@Brutus5000
Brutus5000 merged commit 6664a98 into develop Nov 21, 2026
2 of 4 checks passed
@Brutus5000
Brutus5000 deleted the fix-spring-boot-4.2-rabbitmq branch November 21, 2026 18:21
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.

1 participant