GH-986 Fix regression to NOT attempt output conversion of Message<byte[]>
Resolves #986
This commit is contained in:
@@ -1172,7 +1172,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
|
||||
}
|
||||
|
||||
if (convertedOutput instanceof Message) {
|
||||
if (((Message) convertedOutput).getPayload() instanceof byte[] && ObjectUtils.isEmpty(contentType)) {
|
||||
if (((Message) convertedOutput).getPayload() instanceof byte[]) {
|
||||
return convertedOutput;
|
||||
}
|
||||
else if (isExtractPayload((Message<?>) convertedOutput, type)) {
|
||||
|
||||
Reference in New Issue
Block a user