Polish javadoc in RoutingFunction

This commit is contained in:
Oleg Zhurakousky
2020-03-11 09:04:58 +01:00
parent b71c793dab
commit 005611b682

View File

@@ -78,11 +78,11 @@ public class RoutingFunction implements Function<Object, Object> {
}
/*
* - Check if function-name is set in header and if it is use it.
* - Check if spring.cloud.function.definition is set in header and if it is use it.
* If NOT
* - Check routing-expression and if it is set use it
* - Check spring.cloud.function.routing-expression and if it is set use it
* If NOT
* - Check function-name is set in FunctionProperties and if it is use it
* - Check spring.cloud.function.definition is set in FunctionProperties and if it is use it
* If NOT
* - Fail
*/