Apache Camel for Devclub.eu

691 views

Published on

apache camel, devclub.eu

Published in: Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
691
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Apache Camel for Devclub.eu

  1. 1. Apache Camel Антон Архипов http://arhipov.blogspot.com http://anton-arhipov.livejournal.com
  2. 2. SOA: Spaghetti-Oriented Architecture
  3. 3. http://camel.apache.org What is Apache Camel?
  4. 4. from(“a”).to(“b”)
  5. 5. from(“a”).choice().when(). method(“controlBean”,“isOK”). to(“x”).end(). pipeline(“b”, “c”, “d”);
  6. 6. Components
  7. 7. 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”)
  8. 8. Pattern Examples
  9. 9. Content Based Router
  10. 10. Content Based Router
  11. 11. Message Filter
  12. 12. Splitter
  13. 13. Translator
  14. 14. Aggregator
  15. 15. Resequencer reliable delivery!
  16. 16. Routing Slip
  17. 17. Quick Start java –cp … org.apache.camel.spring.Main
  18. 18. Random Features
  19. 19. Error Handling
  20. 20. try … catch … finally
  21. 21. Message-Driven POJO
  22. 22. 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>
  23. 23. http://camel.apache.org

×