You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2018/10/01 11:19:47 UTC

[camel] branch master updated: CAMEL-12844: splitter with grouping looses encoding property. Thanks to Jakob Krejberg Ørhøj for reporting.

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 <cl...@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);
             }