Apache Camel : "direct:start" endpoint - what does it mean ? -
i'm new apache camel. can explain "direct:start" means in camel. please see
from("direct:start") .to("http://myhost/mypath");
thanks.
the "direct:start" above saying route starts direct component named "start".
the direct endpoint provides synchronous invocation of route. if want send exchange
direct:start endpoint create producertemplate
, use various send methods.
producertemplate template = context.createproducertemplate(); template.sendbody("direct:start", "this test message");
there nothing special name start
. name going use when referring endpoint , have been direct:foo
.
Comments
Post a Comment