From 5d6136537bd0a85b134f10c83487ae7036fc3838 Mon Sep 17 00:00:00 2001 From: Tyler Van Gorder Date: Fri, 29 Nov 2019 15:21:01 -0800 Subject: [PATCH] Fixing functional binding The functional binding requires the binding to be "log-in-0" rather than "input" --- README.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index 733d04a63..171a44439 100644 --- a/README.adoc +++ b/README.adoc @@ -159,7 +159,7 @@ You should see following output: Go to the RabbitMQ management console or any other RabbitMQ client and send a message to `input.anonymous.CbMIwdkJSBO1ZoPDOtHtCg`. The `anonymous.CbMIwdkJSBO1ZoPDOtHtCg` part represents the group name and is generated, so it is bound to be different in your environment. -For something more predictable, you can use an explicit group name by setting `spring.cloud.stream.bindings.input.group=hello` (or whatever name you like). +For something more predictable, you can use an explicit group name by setting `spring.cloud.stream.bindings.log-in-0.group=hello` (or whatever name you like). The contents of the message should be a JSON representation of the `Person` class, as follows: @@ -329,4 +329,4 @@ added after the original pull request but before a merge. message (where XXXX is the issue number). -// ====================================================================================== \ No newline at end of file +// ======================================================================================