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

前端 未结 7 866
既然无缘
既然无缘 2021-02-02 05:38

I\'m new to Apache Camel. Can someone explain what \"direct:start\" means in Camel. Please see

http://camel.apache.org/http

from(\"direct:start\")
.to(         


        
7条回答
  •  耶瑟儿~
    2021-02-02 06:11

    Assume like the direct route as a method with name start , so we need to call the start method /direct route to perform certain operation. The below example will help .

    The first route will be triggered when an input file is available in XXXX location and when it reaches line , the actual flow will go to second route. Basically the direct route with from endpoint will be triggered by some producer endpoint.

    
       
          ..
       
    
    
    
        
        
    
    

提交回复
热议问题