Jazoon 2011 - Smart EAI with Apache Camel

  • 2,735 views
Uploaded on

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

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

I held the session together w

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,735
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
42
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Apache CamelSmart Enterprise Application IntegrationKai Wähner Martin HuberMaibornWolff et al GmbH innoQ Deutschland GmbH145 145
  • 2. Intention of this Session Bullet Point Boot Camp 2
  • 3. Intention of this Session 3
  • 4. What is the Problem? 4
  • 5. Heterogeneity 5
  • 6. Spaghetti Solutions 6 http://jimwebber.org/
  • 7. Spaghetti Solutions 7 http://jimwebber.org/
  • 8. Spaghetti Solutions 8 http://jimwebber.org/
  • 9. Spaghetti Inside … 9 http://jimwebber.org/
  • 10. Spaghetti Solutions … Better but: 10 http://jimwebber.org/
  • 11. Wishes 11
  • 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. What is the Key Message? 13
  • 14. Key Message 14
  • 15. Key Message 15
  • 16. Key Message 16
  • 17. Agenda 17
  • 18. Agenda1) What is Enterprise Integration Patterns? 18
  • 19. Enterprise Integration Patterns (EIP) 19
  • 20. Enterprise Integration Patterns (EIP) 20
  • 21. Enterprise Integration Patterns 21
  • 22. Agenda2) What is Apache Camel? 22
  • 23. Apache Camel 23
  • 24. Apache Camel http://java.dzone.com/articles/apache-camel-integration 24
  • 25. Apache Camel … on Routes! 25
  • 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. Agenda3) Use Case for Demo 27
  • 28. Use Case
  • 29. Use Case (EIP Perspective) 29
  • 30. Agenda4) LIVE HACKING: Apache Camel 30
  • 31. Live Demo 31
  • 32. Agenda5) Outlook 32
  • 33. Choose your favorite DSL 33
  • 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. Deploy it wherever you need to!Standalone Application Server Web Container Spring Container OSGi 35
  • 36. Enterprise-ready! 36
  • 37. When to use Apache Camel? Enterprise Service Bus Apache (ESB) No Tool Camel Complexity of IntegrationLow High 37
  • 38. And the Winner is … 38
  • 39. Did the Key Message arrive? 39
  • 40. Key Message 40
  • 41. Did the Key Message arrive? 41
  • 42. When your Appetite? 42
  • 43. Get a Part of the Community! 43
  • 44. Thank you for your Attention … Questions? + = Smart Enterprise Application Integration 44
  • 45. Kai Wähner www.mwea.deMaibornWolff et al GmbH kai.waehner@mwea.de @KaiWaehnerMartin Huber www.innoq.cominnoQ GmbH martinh@innoq.com @waterback