GH-986 Fix regression to NOT attempt output conversion of Message<byte[]>
Resolves #986
This commit is contained in:
@@ -1136,7 +1136,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry {
|
||||
}
|
||||
|
||||
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