GH-905 Relax handling of incompatible BiFunctions

Resolves #905
This commit is contained in:
Oleg Zhurakousky
2022-08-03 18:02:38 +02:00
parent e48d518d79
commit c1920eff14

View File

@@ -190,7 +190,7 @@ public class BeanFactoryAwareFunctionRegistry extends SimpleFunctionRegistry imp
}
if (!FunctionTypeUtils.isTypeMap(inputType2)) {
throw new UnsupportedOperationException("BiFunction's second argument must be assignable to Map, since BiFunction "
logger.debug("BiFunction's second argument must be assignable to Map, since BiFunction "
+ "represents parsed Message with first argument being payload and second headers. "
+ "Other signatures are not supported at the moment.");
}