Author: davsclaus
Date: Fri Apr 27 05:20:57 2012
New Revision: 1331222
URL: http://svn.apache.org/viewvc?rev=1331222&view=rev
Log:
CAMEL-5215: Fixed file producer to use charset when writing files if given.
Modified:
camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/component/file/GenericFileProducer.java
Modified:
camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/component/file/GenericFileProducer.java
URL:
http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/component/file/GenericFileProducer.java?rev=1331222&r1=1331221&r2=1331222&view=diff
==============================================================================
---
camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/component/file/GenericFileProducer.java
(original)
+++
camel/branches/camel-2.9.x/camel-core/src/main/java/org/apache/camel/component/file/GenericFileProducer.java
Fri Apr 27 05:20:57 2012
@@ -59,8 +59,6 @@ public class GenericFileProducer<T> exte
}
public void process(Exchange exchange) throws Exception {
- endpoint.configureExchange(exchange);
-
String target = createFileName(exchange);
// use lock for same file name to avoid concurrent writes to the same
file