Posts

Showing posts from September, 2022

Apache Camel

Image
  è Hello World for Camel application. Ø   New project in Eclipe è Hello World for Camel application. Ø   New project in Eclipe Ø   Add camel core dependency : in pom Ø   Now in  main/entry class we need to create object for CamelContext Ø   Above ,Here context method addRoutes takes parameter as of type RouteBuilder so now we’ll need to create that class extending RouteBuilder. RouteBuilder is an abstract class with abstract method name configure() , so we gonna override this . Ø   Here route will be printing above print statement , so now we’ll create instance for this routeBuilder type object and pass it to parameter of add routes. and so on as we call start method of this context it will call routeBuilder configure() method.   è How to copy file from one folder to another folder :       Ø   Initial process same as above , here also. here above we can see like , we created anonym...