diff --git a/spring-amqp/src/main/java/org/springframework/amqp/core/AsyncAmqpTemplate.java b/spring-amqp/src/main/java/org/springframework/amqp/core/AsyncAmqpTemplate.java index 90dfe728..7e8c00fe 100644 --- a/spring-amqp/src/main/java/org/springframework/amqp/core/AsyncAmqpTemplate.java +++ b/spring-amqp/src/main/java/org/springframework/amqp/core/AsyncAmqpTemplate.java @@ -109,11 +109,11 @@ public interface AsyncAmqpTemplate { * The request message must have a {@code replyTo} property. * The request {@code messageId} property is used for correlation. * The callback might not produce a reply with the meaning nothing to answer. + * @param the request body type. + * @param the response body type * @param queueName the queue to consume request. * @param callback an application callback to handle request and produce reply. * @return the completion status: true if no errors and reply has been produced. - * @param the request body type. - * @param the response body type */ default CompletableFuture receiveAndReply(String queueName, ReceiveAndReplyCallback callback) { throw new UnsupportedOperationException();