Bird
0
0

Which Spring Boot starter dependency is required to integrate RabbitMQ?

easy📝 Conceptual Q2 of 15
Spring Boot - Messaging
Which Spring Boot starter dependency is required to integrate RabbitMQ?
Aspring-boot-starter-web
Bspring-boot-starter-amqp
Cspring-boot-starter-data-jpa
Dspring-boot-starter-security
Step-by-Step Solution
Solution:
  1. Step 1: Identify RabbitMQ integration dependency

    Spring Boot provides a starter named spring-boot-starter-amqp specifically for AMQP protocol and RabbitMQ integration.
  2. Step 2: Confirm other options are unrelated

    Other starters like web, JPA, or security serve different purposes unrelated to RabbitMQ messaging.
  3. Final Answer:

    spring-boot-starter-amqp -> Option B
  4. Quick Check:

    RabbitMQ starter = spring-boot-starter-amqp [OK]
Quick Trick: Use spring-boot-starter-amqp for RabbitMQ [OK]
Common Mistakes:
  • Choosing web or JPA starters by mistake
  • Not adding any RabbitMQ-related dependency
  • Confusing security starter with messaging

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Spring Boot Quizzes