From 79d7d3a4516545b393622f850471bc3a638bb00e Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Tue, 23 Jul 2019 13:02:37 -0400 Subject: [PATCH] INT-3746: Fix exception message --- .../integration/file/remote/RemoteFileTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-integration-file/src/main/java/org/springframework/integration/file/remote/RemoteFileTemplate.java b/spring-integration-file/src/main/java/org/springframework/integration/file/remote/RemoteFileTemplate.java index f2df9c0d9b..be03e567ca 100644 --- a/spring-integration-file/src/main/java/org/springframework/integration/file/remote/RemoteFileTemplate.java +++ b/spring-integration-file/src/main/java/org/springframework/integration/file/remote/RemoteFileTemplate.java @@ -500,7 +500,7 @@ public class RemoteFileTemplate implements RemoteFileOperations, Initializ } else { throw new IllegalArgumentException("Unsupported payload type. The only supported payloads are " + - "java.io.File, java.lang.String, and byte[]"); + "java.io.File, java.lang.String, byte[], and InputStream"); } if (dataInputStream == null) { return null;