Mule ESB Fundamentals

22,322 views

Published on

Mule ESB Fundamentals
Enterprise Service Bus

Published in: Technology, Education
5 Comments
38 Likes
Statistics
Notes
No Downloads
Views
Total views
22,322
On SlideShare
0
From Embeds
0
Number of Embeds
1,010
Actions
Shares
0
Downloads
1
Comments
5
Likes
38
Embeds 0
No embeds

No notes for slide

Mule ESB Fundamentals

  1. 1. Mule ESB Fundamentals By: Naresh Chintalcheru
  2. 2. ESB Market Commercial ESB Products: ● IBM Websphere ESB ● Tibco ActiveMatrix ESB ● Oracle ESB ● Sonic ESB ● Microsoft BizTalk Server
  3. 3. ESB Market Open Source ESB Products: ● Mule ESB ● Apache ServiceMix ● JBoss ESB ● WSO2 ESB
  4. 4. ESB Market Overlapping ESB Functionality: ● IBM ● Websphere ESB ● Websphere Message Broker ● Websphere Data Power ● Apache ● Apache Service Mix ● Apache Synapse
  5. 5. ESB What is ESB ? Enterprise Service Bus is a modular and component based architecture model used for designing and implementing the interaction and communication between mutually interacting software applications in SOA - Wikipedia
  6. 6. SOA What is SOA ? Service Oriented Architecture is a set of principles and methodologies to design and develop well-defined business functionalities that are built as software components that can be reused - Wikipedia
  7. 7. In-short SOA & ESB SOA: ● Design & develop smaller software components as services for reusability. ESB: ● Communication and interaction between services.
  8. 8. In-short SOA & ESB
  9. 9. EAI Traditional EAI products are based on Hub and Spoke Architecture
  10. 10. EAI – Hub & Spoke Image Source
  11. 11. EAI – Hub & Spoke App - A App – B (MDB) MQ
  12. 12. ESB ESB is based on Bus Architecture
  13. 13. Bus Architecture Image Source
  14. 14. ESB Image Source
  15. 15. ESB Principles ESB principles are ● Mediation ● Routing ● Transformation ● Orchestration ● Conversion
  16. 16. Application Layers Enterprise Application Business Logic vs Connectivity Logic
  17. 17. Abstraction Abstracting Connectivity Logic out of Applications ● IMS transactions using adapters ● Cobol copybooks and call Mainframe Stored Procedures ● CICS Transactions ● SMTP, FTP, EJB, JMS
  18. 18. Mule ESB Understanding Mule ESB
  19. 19. Mule Studio Mule ESB Runtime: Runtime Mule Server (Standalone/Embedded) Mule Studio: Integrated Development Environment to develop Mule Flows. Eclipse with Mule ESB Plugin: Integrated Development Environment to develop Mule Flows.
  20. 20. Mule ESB Mule ESB Flows
  21. 21. Mule ESB Mule ESB Flows: Flows are sequences of message-processing events. Image Source
  22. 22. Mule ESB Flow Building Blocks
  23. 23. Mule ESB Flow Building Blocks ● Message Source ● Message Processors
  24. 24. Mule ESB Message Source: The first building block in most Flows is a Message Source, which receives messages from one or more external sources, thus triggering a Flow instance
  25. 25. Mule ESB Message Processors: Pre-packaged units of functionality that process messages. Except for Message Sources, all the building blocks in a Flow qualify as Message Processors.
  26. 26. Mule ESB Message Processors Building Blocks
  27. 27. Mule ESB Message Processors Building Blocks Groups ● Endpoints ● Scopes ● Components ● Transformers ● Filters ● Flow Controls ● Error handlers
  28. 28. Mule ESB Message Processors Building Blocks Groups ● Endpoints An endpoint in Mule is a channel for receiving or sending data. An endpoint has a specific protocol, such as HTTP or JMS ● Scopes Scopes are processing blocks. e.g., Async, sun-flows, poll ● Components Studio building blocks known as Components fall into three categories: General, Script, and Web Service
  29. 29. Mule ESB Message Processors Building Blocks ● Transformers XML-to-JSON ● Filters Filters determine whether a message can proceed through an application ● Flow Controls Route messages to various destinations in a Mule flow ● Error handlers
  30. 30. Mule ESB Flow with Building Blocks Image Source
  31. 31. Mule ESB Flow in Mule Studio
  32. 32. Mule ESB Fork/Join Control Flows Fan-In/Fan-out
  33. 33. Mule ESB Mule Flow Fork/Join Fan-In / Fan-out – Fork/Join Mule Flow Controls Collection Splitter & Collection Aggregator
  34. 34. Mule Transactions Mule Transactions
  35. 35. Mule Transactions Mule Flow Transactions ● Mule Transaction Manager ● Mule can run both XA/Non-XA Transactions ● Join a existing transaction or Create new ● Uses Spring Framework Transactions Module ● Can be plugged with App Server Transaction manager (Mule Embedded)
  36. 36. Mule Security Mule Security
  37. 37. Mule Security Mule Flow Security ● Mule Security Manager ● Mule Security APIs ● Pluggable Security Manager ● Spring Security
  38. 38. Resource References http://blogs.mulesoft.org/esb-or-not-to-esb-revisited-%E2%80%93-part/ http://blogs.mulesoft.org/esb-or-not-to-esb-revisited-part-1/ http://www.mulesoft.com/resources/esb/enterprise-application-integration-eai-and-esb http://www.innovativearchitects.com/KnowledgeCenter/ESB-EAI-SOA.aspx
  39. 39. Thank You and Feedback Appreciated

×