Spring AMQP - Reference Documentation

Authors

Mark Pollack , Mark Fisher , Oleg Zhurakousky , Dave Syer , Gary Russell , Gunnar Hillert

1.2.1.RELEASE

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.


Table of Contents

Preface
I. Introduction
1. Quick Tour for the impatient
1.1. Introduction
1.1.1. Very, Very Quick
1.1.2. With XML Configuration
1.1.3. With Java Configuration
2. What's New
2.1. Changes to 1.2 Since 1.1
2.1.1. RabbitMQ Version
2.1.2. Rabbit Admin
2.1.3. Rabbit Template
2.1.4. JSON Message Converters
2.1.5. Automatic Declaration of Queues, etc
2.1.6. AMQP Remoting
2.1.7. Requested Heart Beats
2.2. Changes to 1.1 Since 1.0
2.2.1. General
2.2.2. AMQP Log4j Appender
II. Reference
3. Using Spring AMQP
3.1. AMQP Abstractions
3.2. Connection and Resource Management
3.2.1. Configuring the Underlying Client Connection Factory
3.2.2. Publisher Confirms and Returns
3.3. AmqpTemplate
3.3.1. Publisher Confirms and Returns
3.4. Sending messages
3.4.1. Publisher Confirms
3.4.2. Publisher Returns
3.5. Receiving messages
3.5.1. Synchronous Consumer
3.5.2. Asynchronous Consumer
3.6. Message Converters
3.7. Request/Reply Messaging
3.7.1. Message Correlation With A Reply Queue
Reply Listener Container
3.7.2. Spring Remoting with AMQP
3.8. Configuring the broker
3.8.1. Conditional Declaration
3.9. Exception Handling
3.10. Transactions
3.10.1. A note on Rollback of Received Messages
3.10.2. Using the RabbitTransactionManager
3.11. Message Listener Container Configuration
3.12. Resilience: Recovering from Errors and Broker Failures
3.12.1. Automatic Declaration of Exchanges, Queues and Bindings
3.12.2. Failures in Synchronous Operations and Options for Retry
3.12.3. Message Listeners and the Asynchronous Case
3.12.4. Exception Classification for Retry
4. Erlang integration
4.1. Introduction
4.2. Communicating with Erlang processes
4.2.1. Executing RPC
4.2.2. ErlangConverter
4.3. Exceptions
5. Sample Applications
5.1. Introduction
5.2. Hello World
5.2.1. Synchronous Example
5.2.2. Asynchronous Example
5.3. Stock Trading
III. Spring Integration - Reference
6. Spring Integration AMQP Support
6.1. Introduction
6.2. Inbound Channel Adapter
6.3. Outbound Channel Adapter
6.4. Inbound Gateway
6.5. Outbound Gateway
IV. Other Resources
7. Further Reading
Bibliography