camel Set Up

Camel Set up

Camel set up is like walking on cake.It means it is very easy.Developer don't require anything special.We have assumed that developer has eclipse as IDE and in that java and maven is configured.To set up camel project follow below steps.

  • In eclipse go to File -> New -> others



  • In wizard type maven and select maven project and click on next


  • Select create simple project and click next.



  • Enter groupId and artifactId for example MyFirstCamelProject and click next.



  • It will create a project in eclipse with name MyFirstCamelProject.



  • After maven project has been set up, open pom.xml and add one dependency.

  •  	
    	<dependencies>
    		<dependency>
    			<groupId>org.apache.camel</groupId>
    			<artifactId>camel-core</artifactId>
    			<version>2.13.0</version>
    		</dependency>
    	</dependencies>
    
  • Run mvn:install from command prompt or if you are using Eclipse right click on pom.xml and run mvn install.It will download camel jars
  • That's all we require to set up camel.




Visit Others Links

Camel Introduction
Camel Setup
File Copy Example Using Camel
File Copy Example In Camel Using Spring
JMS Message Transfer Example Using Camel
JMS Message Transfer Example In Camel Using Spring
Processor In Camel
Object to JSON Transfer Example Using Spring In Camel
Camel With Bean Injection Example Using Spring DSL
Camel With Bean Injection Registry Example Using Java DSL
Camel Bean Parameter Binding Example Using Java DSL
Camel Error Handling With Redelivery Example Using Java DSL
Camel Exception Handling With Example Using Java DSL
Camel JUnit Test With Example Using Java DSL
Camel JUnit Test With Example Using Spring DSL
Camel Unit Test With Mock Component Example
Camel With Stream Component Example
Camel In-Memory Messaging Example Using Direct
Camel With Timer And Quartz Example
Camel Aggregator EIP Example
Camel Splitter EIP Example
Camel Routing Slip EIP Example
Camel Dynamic Router EIP Example
Camel Load Balancer EIP Example
Top Camel Interview Question
© 2019 PreparationForInterview.com