committed by
Oleg Zhurakousky
parent
69b8a4f025
commit
06179919b3
@@ -21,13 +21,22 @@ package org.springframework.cloud.function.core;
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Oleg Zhurakousky
|
* @author Oleg Zhurakousky
|
||||||
|
* @author John Blum
|
||||||
* @since 3.1
|
* @since 3.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public interface FunctionInvocationHelper<I> {
|
public interface FunctionInvocationHelper<I> {
|
||||||
|
|
||||||
default boolean isRetainOuputAsMessage(I input) {
|
default boolean isRetainOutputAsMessage(I input) {
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Use {@link #isRetainOutputAsMessage(I)}
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
default boolean isRetainOuputAsMessage(I input) {
|
||||||
|
return isRetainOutputAsMessage(input);
|
||||||
};
|
};
|
||||||
|
|
||||||
default I preProcessInput(I input, Object inputConverter) {
|
default I preProcessInput(I input, Object inputConverter) {
|
||||||
|
|||||||
Reference in New Issue
Block a user