Spring
Why Spring
Overview
  • Trending
  • Generative AI Cloud
  • Architecture Patterns
  • Microservices Reactive Event Driven
  • Application Types
  • Web Applications Serverless Batch
    Learn
  • Getting Started
  • Quickstart Guides
  • Academy
  • Courses Get Certified
    Projects
    Overview
  • Projects
  • Spring Boot Spring Framework Spring Cloud Spring AI Spring Data Spring Integration Spring Batch Spring Security
  • Foundational Projects
  • Micrometer Reactor
  • Development Tools
  • Spring Tools Spring Initializr
    Resources
    Blog Release Calendar Version Mappings Release Highlights Security Advisories
  • GitHub Orgs
  • Spring Projects Spring Cloud
    Community
    Overview Events Authors
    Enterprise
    Overview Long-term Support Automated Upgrades Governance and Compliance Modern App Development
    Spring AMQP 4.0.4
      • Spring AMQP
      • What’s New
      • Introduction
        • Quick Tour for the impatient
      • Reference
        • Using Spring AMQP
          • AMQP Abstractions
          • Connection and Resource Management
          • Adding Custom Client Connection Properties
          • AmqpTemplate
          • Sending Messages
          • Receiving Messages
            • Polling Consumer
            • Asynchronous Consumer
            • Batched Messages
            • Consumer Events
            • Consumer Tags
            • Annotation-driven Listener Endpoints
              • Meta-annotations
              • Enable Listener Endpoint Annotations
              • Message Conversion for Annotated Methods
              • Adding a Custom HandlerMethodArgumentResolver to @RabbitListener
              • Programmatic Endpoint Registration
              • Annotated Endpoint Method Signature
              • @RabbitListener @Payload Validation
              • Listening to Multiple Queues
              • Reply Management
              • Reply ContentType
              • Multi-method Listeners
              • @Repeatable @RabbitListener
              • Proxy @RabbitListener and Generics
              • Handling Exceptions
              • Container Management
            • @RabbitListener with Batching
            • Using Container Factories
            • Asynchronous @RabbitListener Return Types
            • Threading and Asynchronous Consumers
            • Choosing a Container
            • Detecting Idle Asynchronous Consumers
            • Micrometer Integration
            • Micrometer Observation
          • Containers and Broker-Named queues
          • Message Converters
          • Modifying Messages - Compression and More
          • Request/Reply Messaging
          • Configuring the Broker
          • Broker Event Listener
          • Delayed Message Exchange
          • RabbitMQ REST API
          • Exception Handling
          • Transactions
          • Message Listener Container Configuration
          • Listener Concurrency
          • Exclusive Consumer
          • Listener Container Queues
          • Resilience: Recovering from Errors and Broker Failures
          • Multiple Broker (or Cluster) Support
          • Debugging
        • Using the RabbitMQ Stream Plugin
        • RabbitMQ AMQP 1.0 Support
        • Logging Subsystem AMQP Appenders
        • Sample Applications
        • Testing Support
      • Spring Integration - Reference
      • Other Resources
        • Further Reading
      • Micrometer Observation Documentation
      • Native Images
      • Change History
        • Current Release
        • Previous Releases
          • Changes in 3.1 Since 3.0
          • Changes in 3.0 Since 2.4
          • Changes in 2.4 Since 2.3
          • Changes in 2.3 Since 2.2
          • Changes in 2.2 Since 2.1
          • Changes in 2.1 Since 2.0
          • Changes in 2.0 Since 1.7
          • Changes in 1.7 Since 1.6
          • Changes in 1.6 Since 1.5
          • Changes in 1.5 Since 1.4
          • Changes in 1.4 Since 1.3
          • Changes in 1.3 Since 1.2
          • Changes to 1.2 Since 1.1
          • Changes to 1.1 Since 1.0
    Edit this Page GitHub Project Stack Overflow
    • Spring AMQP
    • Reference
    • Using Spring AMQP

    For the latest stable version, please use Spring AMQP 4.1.0!

    Using Spring AMQP

    This chapter explores the interfaces and classes that are the essential components for developing applications with Spring AMQP.

    Section Summary

    • AMQP Abstractions
    • Connection and Resource Management
    • Adding Custom Client Connection Properties
    • AmqpTemplate
    • Sending Messages
    • Receiving Messages
    • Containers and Broker-Named queues
    • Message Converters
    • Modifying Messages - Compression and More
    • Request/Reply Messaging
    • Configuring the Broker
    • Broker Event Listener
    • Delayed Message Exchange
    • RabbitMQ REST API
    • Exception Handling
    • Transactions
    • Message Listener Container Configuration
    • Listener Concurrency
    • Exclusive Consumer
    • Listener Container Queues
    • Resilience: Recovering from Errors and Broker Failures
    • Multiple Broker (or Cluster) Support
    • Debugging
    • Spring AMQP
      • 4.1.0
      • 4.0.4
      • 3.2.11
      • 3.1.12
      • 4.1.1-SNAPSHOT
      • 4.0.5-SNAPSHOT
      • 3.2.12-SNAPSHOT
      • 3.1.13-SNAPSHOT
    • Related Spring Documentation
      • Spring Framework
      • Spring Integration
    • All Docs...
    Spring

    Copyright © 2005 - Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
    Terms of Use • Privacy • Trademark Guidelines • Thank you • Your California Privacy Rights • Cookie Settings

    Apache®, Apache Tomcat®, Apache Kafka®, Apache Cassandra™, and Apache Geode™ are trademarks or registered trademarks of the Apache Software Foundation in the United States and/or other countries. Java™, Java™ SE, Java™ EE, and OpenJDK™ are trademarks of Oracle and/or its affiliates. Kubernetes® is a registered trademark of the Linux Foundation in the United States and other countries. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Windows® and Microsoft® Azure are registered trademarks of Microsoft Corporation. “AWS” and “Amazon Web Services” are trademarks or registered trademarks of Amazon.com Inc. or its affiliates. All other trademarks and copyrights are property of their respective owners and are only mentioned for informative purposes. Other names may be trademarks of their respective owners.

    Search in all Spring Docs