At present
camel
route:from("http://localhost:8080/wms/query_all_handlover_note?type=source";).to("file:d:/temp/outbox?fileName=data1.txt")
can run successfully.
thank you.
--
View this message in context:
http://camel.465427.n5.nabble.com/Why-can-not-get-the-data-tp5737243p5737494.html
Sent
My goal in eclipse to build a platform, the platform is based on the added in
accordance with the osgi specification bundles on the equinox, wants to use
camel routing on the platform, I need to add the
camel-core-2.11.1.jar,javax.servlet-2.5.0.jar,camel-http-2.11.1.jar and so
on, such as the camel
Camel on osgi development route, need to be camel-http-2.11.1. Jar to join
in, but need to rely on org.apache.commons.httpclient (version = "[3.1.0,
4.0.0)"), and then I downloaded the commons-httpclient-3.1-osgi. Jar to join
in, but still lack the rely on, this is how to return a responsibility, h
began to visit
"http://localhost:8080/wms/query_all_handlover_note?type=source"; ,The
results are shown:
{"total":"1","rows":[{"id":51,"noteNo":"43a43d88-4f7f-4364-ad22-cd2076964d7a","from_entry_type":"dd","from_entry_no":"dd","storage_name":"dianlan","model_number":"d1","number":"ed","unit":"d","e
Hi:
Add the corresponding jar package.
Before the code changes for
main.addRouteBuilder(new RouteBuilder() {
public void configure() {
from("jetty://http://localhost:8080/wms/query_all_handlover_note?type=source";)
.to("file:d:/
hi:
I have direct access to
"http://localhost:8080/wms/query_all_handlover_note?type=source";.
Can get the json data.I may not need an Http server for unit testing.I
download the HttpTestServer.java,but have errors.If you feel the need,so how
should I import which packages, normal operation of t
I rewrite code is as follows:
public class TestHttpCamel {
private Main main;
public static void main(String args[]) throws Exception {
TestHttpCamel example = new TestHttpCamel();
example.boot();
}
public void boot() throws
Is not the reason to add "/"
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-tp5737243p5737284.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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()
hello everyboby,I ask a question.
I write the code:
public class TestHttpCamel {
public static void main(String args[]) throws Exception {
CamelContext context = new DefaultCamelContext();
context.addRoutes(new RouteBuilder() {
public
At present the four bundles of foreign service based on HTTP url way (in the
future will provide services in web service way).
If a camel route ACTS as a bundle of similar scheduling function.This bundle
will have contact with the four bundles.
If I the camel route is configured with a-->b-->c-->d,
hello everybody:
I ask everybody a question, I now do a logistics project.This project
on OSGI platform development and deployment, is in the OSGI bundle as the
basic unit, I now have four applications namely four bundles (harvest
notice, delivery, acceptance, storage, in accordance with th
12 matches
Mail list logo