GH-2347 Fix explicit binding creation when single function is present
Resolves #2347
This commit is contained in:
@@ -451,7 +451,7 @@ 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, applicationContext.getEnvironment());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user