Fixing functional binding
The functional binding requires the binding to be "log-in-0" rather than "input"
This commit is contained in:
committed by
Oleg Zhurakousky
parent
74aee81028
commit
5d6136537b
@@ -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).
|
||||
|
||||
|
||||
// ======================================================================================
|
||||
// ======================================================================================
|
||||
|
||||
Reference in New Issue
Block a user