I’m new to Apache Camel. Can someone explain what "direct:start" means in Camel.
Please see
https://camel.apache.org/components/latest/http-component.html
from("direct:start")
.to("http://myhost/mypath");
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The “direct:start” above is simply saying that the route starts with a Direct Component named “start”.
The direct endpoint provides synchronous invocation of a route. If you want to send an
Exchangeto the direct:start endpoint you would create aProducerTemplateand use the various send methods.There is nothing special about the name
start. It is simply the name you are going to use when referring to the endpoint and could have just as easily beendirect:foo.