Jazoon 2011 - Smart EAI with Apache Camel

2,910
-1

Published on

Introduction to Apache Camel. Explains its concepts and why / when you should use it.

I held the session together w

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

  • Be the first to like this

No Downloads
Views
Total Views
2,910
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
50
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Jazoon 2011 - Smart EAI with Apache Camel

  1. 1. Apache CamelSmart Enterprise Application IntegrationKai Wähner Martin HuberMaibornWolff et al GmbH innoQ Deutschland GmbH145 145
  2. 2. Intention of this Session Bullet Point Boot Camp 2
  3. 3. Intention of this Session 3
  4. 4. What is the Problem? 4
  5. 5. Heterogeneity 5
  6. 6. Spaghetti Solutions 6 http://jimwebber.org/
  7. 7. Spaghetti Solutions 7 http://jimwebber.org/
  8. 8. Spaghetti Solutions 8 http://jimwebber.org/
  9. 9. Spaghetti Inside … 9 http://jimwebber.org/
  10. 10. Spaghetti Solutions … Better but: 10 http://jimwebber.org/
  11. 11. Wishes 11
  12. 12. Solution: Enterprise Application Integration (EAI)How to read the Content of a File?try {BufferedReader in = new BufferedReader(newFileReader(“filename")); String str;while ((str = in.readLine()) != null) { process(str); }in.close(); }catch (IOException e) { } 12
  13. 13. What is the Key Message? 13
  14. 14. Key Message 14
  15. 15. Key Message 15
  16. 16. Key Message 16
  17. 17. Agenda 17
  18. 18. Agenda1) What is Enterprise Integration Patterns? 18
  19. 19. Enterprise Integration Patterns (EIP) 19
  20. 20. Enterprise Integration Patterns (EIP) 20
  21. 21. Enterprise Integration Patterns 21
  22. 22. Agenda2) What is Apache Camel? 22
  23. 23. Apache Camel 23
  24. 24. Apache Camel http://java.dzone.com/articles/apache-camel-integration 24
  25. 25. Apache Camel … on Routes! 25
  26. 26. Code Example (Java DSL)from("activemq:queue:order“) .choice() .when(header("paytype").isEqualTo("creditcard")) .to(“websphere-mq:queue:creditcards") .when(header("paytype").isEqualTo("bankcard")) .to("smtp://mwea.mailserver:30 ?password=xy&user=kw") .otherwise() .to(“websphere-mq:queue:invalidOrder"); 26
  27. 27. Agenda3) Use Case for Demo 27
  28. 28. Use Case
  29. 29. Use Case (EIP Perspective) 29
  30. 30. Agenda4) LIVE HACKING: Apache Camel 30
  31. 31. Live Demo 31
  32. 32. Agenda5) Outlook 32
  33. 33. Choose your favorite DSL 33
  34. 34. Many Components available TCPSQL SMTP JMS Netty Jetty RMIFile FTP Lucene JDBC EJB MQ Bean-Validation IRC CXF JMX Quartz RSS AMQP Log AWS-S3 XSLT Atom HTTP LDAP Own custom Components... Many many more ... Akka 34
  35. 35. Deploy it wherever you need to!Standalone Application Server Web Container Spring Container OSGi 35
  36. 36. Enterprise-ready! 36
  37. 37. When to use Apache Camel? Enterprise Service Bus Apache (ESB) No Tool Camel Complexity of IntegrationLow High 37
  38. 38. And the Winner is … 38
  39. 39. Did the Key Message arrive? 39
  40. 40. Key Message 40
  41. 41. Did the Key Message arrive? 41
  42. 42. When your Appetite? 42
  43. 43. Get a Part of the Community! 43
  44. 44. Thank you for your Attention … Questions? + = Smart Enterprise Application Integration 44
  45. 45. Kai Wähner www.mwea.deMaibornWolff et al GmbH kai.waehner@mwea.de @KaiWaehnerMartin Huber www.innoq.cominnoQ GmbH martinh@innoq.com @waterback
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×