camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [camel] branch camel-2.21.x updated: CAMEL-12844: splitter with grouping looses encoding property. Thanks to Jakob Krejberg Ørhøj for reporting.
Date Mon, 01 Oct 2018 11:19:44 GMT
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.21.x by this push:
     new 98c21be  CAMEL-12844: splitter with grouping looses encoding property. Thanks to
Jakob Krejberg Ørhøj for reporting.
98c21be is described below

commit 98c21be49a3096d81349ab571780ebf8f60a5fae
Author: Claus Ibsen <claus.ibsen@gmail.com>
AuthorDate: Mon Oct 1 13:18:30 2018 +0200

    CAMEL-12844: splitter with grouping looses encoding property. Thanks to Jakob Krejberg
Ørhøj for reporting.
---
 camel-core/src/main/java/org/apache/camel/util/GroupTokenIterator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/camel-core/src/main/java/org/apache/camel/util/GroupTokenIterator.java b/camel-core/src/main/java/org/apache/camel/util/GroupTokenIterator.java
index 2f05116..547157e 100644
--- a/camel-core/src/main/java/org/apache/camel/util/GroupTokenIterator.java
+++ b/camel-core/src/main/java/org/apache/camel/util/GroupTokenIterator.java
@@ -175,7 +175,7 @@ public final class GroupTokenIterator implements Iterator<Object>,
Closeable {
                 bos.write(bytes);
             } else if (data != null) {
                 // convert to input stream
-                InputStream is = camelContext.getTypeConverter().mandatoryConvertTo(InputStream.class,
data);
+                InputStream is = camelContext.getTypeConverter().mandatoryConvertTo(InputStream.class,
exchange, data);
                 IOHelper.copy(is, bos);
             }
 


Mime
View raw message