camel-commits mailing list archives

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

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


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

commit 4e28fc943e12eae436043bb4cf1a73c45235e37b
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 eb2f7dd..53206a4 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
@@ -164,7 +164,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