Apache Camel
Upcoming SlideShare
Loading in...5
×
 

Apache Camel

on

  • 1,947 views

 

Statistics

Views

Total Views
1,947
Views on SlideShare
1,722
Embed Views
225

Actions

Likes
1
Downloads
35
Comments
0

5 Embeds 225

http://www.devclub.eu 192
http://tallinndev.blogspot.com 28
http://order.rossko.ru 3
http://www.translate.ru 1
http://tallinndev.blogspot.ru 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Apache Camel Apache Camel Presentation Transcript

  • Apache Camel Антон Архипов http ://arhipov.blogspot.com http://anton-arhipov.livejournal.com
  •  
  • SOA : Spaghetti-Oriented Architecture
  • What is Apache Camel? http://camel.apache.org
  • from(“ a ”).to(“ b ”)
  • from(“ a ” ).choice().when(). method( “ controlBean ” ,“ isOK ” ). to(“ x ” ).end(). pipeline ( “ b ”, “ c ”, “ d ” );
  • Components
  • Endpoint URI <component-name>:<component-spec>[?params] from(“ file :/tmp ? consumer.delay=1000”) from(“ bean :myBean ? methodName=getOrders”) from(“ quickfix-server :server.cfg ? log=#loggingFactoryBean”)
  • Pattern Examples
  • Content Based Router
  • Content Based Router
  • Message Filter
  • Splitter
  • Translator
  • Aggregator
  • Resequencer reliable delivery!
  • Routing Slip
  •  
  • Quick Start java –cp … org.apache.camel.spring.Main
  •  
  • Random Features
  • Error Handling
  • try … catch … finally
  • Message-Driven POJO
  • Camel & ActiveMQ
    • ${ACTIVEMQ_HOME}/conf/activemq.xml
    <camelContext id=“camel” xmlns=“ http:// camel.apache.org /schema/spring ”> <route> <!-- you can add routes here --> </route> </camelContext>
  • http://camel.apache.org