Fenil Bhoot wrote:Please show the simple steps of apache camel...with code execution flow please.... i am very new to this techology
To Give you a start on this Camel Project.
Please download Camel from
http://camel.apache.org/. You will also need maven (download it from
http://maven.apache.org/download.cgi) to build the camel project. All camel code needs to be build using Camel. The pre-requiste knowledge required to make you help you build your projects are as follows :
1) Spring framework (You can do without this to some extent)
2) Maven (It is must)
3) Prior knowledge of Java programming.This is not limited if you need to go for more advanced programming. It integrates well with webservices like Spring-WS,JAX-WS, JAX-RS ,CXF ,XML,JMS,HTTP,OSGI,FTP.ETL and is based on Enterprise Integration Framework.
Here is the simplest eg :
After you have downloaded the above camel from the website, you would find the folder called examples there. You can execute pom.xml file using maven (eg : C:\apache-maven-3.1.1\bin\mvn) or you can also consider the simplest sample the folder \examples\camel-example-console
This example has CamelConsoleMain.java program under examples\camel-example-console\src\main\java\org\apache\camel\example\console which invokes the configuration file called camel-context.xml under the directory examples\camel-example-console\src\main\resources\META-INF\spring.
First compile the logic using mvn compile
then run the logic using mvn compile
Hope this should help you to begin working on Camel.
Thanks,
Tushar Arsekar.
Oracle SOA Architect Certified Expert.
Oracle Certified Master, Java EE 5 Enterprise Architect certification
IBM Certified Rational Software Architect.
IBM Certified Service Oriented Architecture (SOA) - Associate.
IBM Websphere MQ 6.0 Certified - System Adminstrator
Sun Certified Web Component Developer for J2EE 5.0.
Sun Certified Java Programmer SE 5.0.