You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2010/06/12 07:44:28 UTC
svn commit: r953940 -
/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java
Author: ningjiang
Date: Sat Jun 12 05:44:27 2010
New Revision: 953940
URL: http://svn.apache.org/viewvc?rev=953940&view=rev
Log:
CAMEL-2806 polish the comments of the MultiPartFormTest
Modified:
camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java
Modified: camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java?rev=953940&r1=953939&r2=953940&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java (original)
+++ camel/trunk/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java Sat Jun 12 05:44:27 2010
@@ -63,8 +63,9 @@ public class MultiPartFormTest extends C
return new RouteBuilder() {
public void configure() throws Exception {
// START SNIPPET: e1
- // Set the jetty temp directory which store the file
+ // Set the jetty temp directory which store the file for multi part form
// camel-jetty will clean up the file after it handled the request.
+ // The option works rightly from Camel 2.4.0
getContext().getProperties().put("CamelJettyTempDir", "target");
from("jetty://http://localhost:9080/test").process(new Processor() {