camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yiwang <imawan...@gmail.com>
Subject Re: Why can not get the data
Date Thu, 15 Aug 2013 02:54:12 GMT
     1.Is not the reason to add "/"
     2.public class TestHttpCamel {
	private Main main;

	public static void main(String args[]) throws Exception {

		TestHttpCamel example = new TestHttpCamel();
		example.boot();

	}

	public void boot() throws Exception {
		main = new Main();
		main.enableHangupSupport();
		main.addRouteBuilder(new RouteBuilder() {
			public void configure() {
				from("http://localhost:8080/wms/query_all_handlover_note?type=source")
						.to("file:d:/temp/outbox?fileName=data.txt");

			}
		});
		main.run();
	}

}
still not get the data. The HTTP routing write wrong or need what
configuration?



--
View this message in context: http://camel.465427.n5.nabble.com/Why-can-not-get-the-data-tp5737243p5737283.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message