Apache Camel : "direct:start" endpoint - what does it mean ? -


i'm new apache camel. can explain "direct:start" means in camel. please see

http://camel.apache.org/http

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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -