From ba4a66c264fba346e2514e75b4ead4f76c57a878 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Thu, 17 Jan 2019 09:45:48 -0500 Subject: [PATCH] GH-879: Doc @RabbitListener with Message Resolves https://github.com/spring-projects/spring-amqp/issues/879 --- src/reference/asciidoc/amqp.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reference/asciidoc/amqp.adoc b/src/reference/asciidoc/amqp.adoc index f38583c103..d5f743b280 100644 --- a/src/reference/asciidoc/amqp.adoc +++ b/src/reference/asciidoc/amqp.adoc @@ -2403,6 +2403,7 @@ Notice that the same method signatures apply as discussed in the method-level `@ Starting with _version 2.0.3_, a `@RabbitHandler` method can be designated as the default method which is invoked if there is no match on other methods. At most one method can be so designated. +IMPORTANT: `@RabbitHandler` is intended only for processing message payloads after conversion, if you wish to receive the unconverted raw `Message` object, you must use `@RabbitListener` on the method, not the class. [[repeatable-rabbit-listener]] ====== @Repeatable @RabbitListener