GH-2347 Fix explicit binding creation when single function is present
Resolves #2347
This commit is contained in:
@@ -453,7 +453,8 @@ public class FunctionConfiguration {
|
||||
}
|
||||
if (StringUtils.hasText(functionDefinition) && !shouldNotProcess) {
|
||||
FunctionInvocationWrapper function = functionCatalog.lookup(functionDefinition);
|
||||
if (function != null && !function.isSupplier()) {
|
||||
|
||||
if (function != null && !function.isSupplier() && functionDefinition.equals(function.getFunctionDefinition())) {
|
||||
this.bindFunctionToDestinations(bindableProxyFactory, functionDefinition);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user