You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binding/BindingsLifecycleController.java
+8-12Lines changed: 8 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -95,24 +95,20 @@ public BindingsLifecycleController(List<InputBindingLifecycle> inputBindingLifec
95
95
96
96
/**
97
97
* Allows to dynamically create a new input binding returning its consumer properties for further customization.
98
-
* Unlike {@link #defineBinding(BindableFunctionProxyFactory)} this method will not initialize the binding.
99
-
* You have to call {@link #defineBinding(BindableFunctionProxyFactory)} explicitly after you create a binding.
100
98
* @param <P> the type of consumer properties. For example, if binding derives from Kafka, it will return KafkaConsumerProperties.
101
99
* @param bindingName the name of the binding.
102
100
* @param binderName the name of the binder.
103
101
* @param bindingProperties instance of BindingProperties.
104
102
* @return instance of the consumer properties.
105
103
*/
106
-
@SuppressWarnings("unchecked")
107
104
public <P> PcreateInputBinding(StringbindingName, StringbinderName, BindingPropertiesbindingProperties) {
108
105
Assert.hasText(bindingProperties.getGroup(), "Anonymous bindings are not allowed for explicit creation. You must define 'group'");
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/spring-cloud-stream/binding_visualization_control.adoc
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,12 +30,24 @@ its Consumer and Producer configuration properties for more dynamic management o
30
30
31
31
For example.
32
32
33
-
To define new input binding you can call `BindingsLifecycleController.defineInputBinding(..)` method (see below). There is equivalent of `defineOutputBinding(..)` method.
33
+
To define new input binding you can call `BindingsLifecycleController.createInputBinding(..)` method (see below). There is equivalent of `createOutputBinding(..)` method.
0 commit comments