camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jun ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-6855) filecomponent bug
Date Fri, 11 Oct 2013 09:31:44 GMT
jun ma created CAMEL-6855:
-----------------------------

             Summary: filecomponent bug
                 Key: CAMEL-6855
                 URL: https://issues.apache.org/jira/browse/CAMEL-6855
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.12.1
            Reporter: jun ma


package cn.sgi;

import org.apache.camel.CamelContext;
import org.apache.camel.Exchange;
import org.apache.camel.Predicate;
import org.apache.camel.Processor;
import org.apache.camel.RoutesBuilder;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.impl.DefaultCamelContext;
 

public class Test {

	/**
	 * @param args
	 * @throws Exception 
	 */
	public static void main(String[] args) throws Exception {
		CamelContext context=new DefaultCamelContext();
		context.addRoutes(new RouteBuilder() {
			
			@Override
			public void configure() throws Exception {
				from("file:data/inbox?noop=false").to("file:data/outbox/txt");
				
				
			}
		});
		
		context.start();
		Thread.currentThread().join();
		context.stop();

	}

}

hi,i 'm a beginnger,i found a bug, see my code, that I put 9 txt files into  inbox ,some files
exists in outbox ,not in outbox/txt . help me ,thank you 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message