SlideShare a Scribd company logo
1 of 17
Presented by
Model :
 The first logical layer is the model layer. A Mule model
represents the run-time environment that hosts
services.
 It defines the behavior of Mule when processing
requests handled by these services.
 Consequently, the model that the Mule instance would
host would establish a runtime environment
optimized for asynchronous processing of messages, as
no synchronous reply is expected anywhere in the
overall message processing chain.
Service :
 A Mule service is composed of all the Mule entities involved in
processing particular requests in predefined manners.
 A service is defined by a specific configuration. This
configuration determines the different elements, from the
different layers of responsibility, that will be mobilized to
process the requests that it'll be open to receive.
 Depending on the type of input channel it uses, a service may or
may not be publicly accessible outside of the ESB.
 For the time it gets handled by a service, a request is associated
with a session object.
 As its name suggests, this object carries all the necessary context
for the pro-cessing of a message while it transits through the
service.
Transports :
 The transport layer is in charge of receiving or sending
messages. This is why it's involved with both inbound
and outbound communications.
 A transport manifests itself in the configuration by the
following elements: connectors, endpoints and
transformers.
Connectors :
 A connector is in charge of controlling the usage of a
particular protocol.
 It's configured with parameters that are specific to this
protocol and holds any state that can be shared with
the underlying entities in charge of the actual
communications.
 For example, the FileConnector can read and write file
system files.
Configuring connectors :
 FileConnector
 JDBC Connector
 HTTP Connector
 STDIO Connector
 JMS Connector
 Proceed to next slide to see the configuration of all the
above connectors.
FileConnector :
The configuration for file connector is as follows:
<file:connector name="FileConnector" streaming="false"
pollingFrequency="1000">
<file:expression-filename-parser/>
</file:connector>
JDBC Connector :
The configuration for JDBC connector is as follows :
<jdbc:connector name="jdbcConnector"
dataSource-ref="dataSource“>
<jdbc:query key="statsInsert" value="insert into
alerts values (0, 344, Sindhu', Vankam')"/>
</jdbc:connector>
HTTP Connector :
The configuration for HTTP connector is as follows :
<http:connector name="HttpConnector"
proxyHostname="${proxyHostname}"
proxyPort=="${proxyPort}"
proxyUsername="${proxyUsername}"
proxyPassword="${proxyPassword}"/>
STDIO Connector :
The configuration for STDIO connector is as follows :
<stdio:connector name="SystemStreamConnector"
promptMessage="Please enter something:"
messageDelayTime="1000" />
JMS Connector :
The configuration for JMS connector is as follows :
<jms:activemq-connector
name="jmsQueueConnector"
specification="1.0.2b"
brokerURL="tcp://localhost:61616" />
Endpoints :
 Inbound and outbound endpoints exist in the context of a
particular service and represent the expected entry and exit
points for messages, respectively.
 These end-points are defined in the inbound and outbound
routers.
 It's also possible to define an inbound endpoint in a response
router.
 In that case, the inbound endpoint acts as a response endpoint
where asynchronous replies will be consolidated before the
service returns its own response.
 Global endpoints can be considered abstract entities that get
reified only when referenced in the context of a service: as such,
they're a convenient way to share common configuration
attributes.
Transformer :
 A transformer optionally changes incoming or outgoing
messages in some way.This is usually done to make the message
format useable by a downstream function
For examples, the ByteArrayToString transformer converts byte
arrays into String objects.If we want our own transformers to
convert input we can write our own java and we can call from the
mule.
We can implement custom java transformer by extends
AbstractTransformer and AbstractMessageAwareTransformer.
AbstractTransformer is a normal Transformer, it will carry only
payload in the sense input/result from before execution.
AbstractMessageAwareTransformer is a special transformer,
It will carry payload, messahe properties of mule and alo details
regarding exception.
Routers :
 Routers play a crucial role in controlling the trajectory a message will
follow when it transits in Mule.
 They're the gatekeepers of the endpoints of a service. In fact, they act
like railroad switches, taking care of keeping messages on the right
succession of tracks so they can reach their intended destinations.
A router is the object that does something with messages once they
have been received by a connector, or prior to being sent out by the
connector.
pass-through-router: Input will pass as it is to outbound from
inbound. Single service will be available.
filtering-router: input will pass based on condition it's like filtering
input. Multiple Services will be available.
chaining-router: Every statement will pick up by procedure
functionality, nothing but there is no condition after finishing one
service it will go to the next service. Multiple Services will be available.
etc...
Filter :
 A filter optionally filters incoming or outgoing
messages that are coming into or going out from a
connector.
 For example, the File Provider comes with a
FilenameWildcardFilter that restricts which files are
read by the connector based on file name patterns.
 For example only files with the .xml extension can be
routed.
 Note: writing condition is filtering-router and way of
condition is filter. Based on filter, service will be
picking up by filtering-router.
Components :
 Components are usually business objects.
 They are components that execute business logic on an
incoming event.
 Components are standard JavaBeans (containers).
 There is no Mule-specific code in components, it is a
java class to implement business logic especially.
Thank You

More Related Content

What's hot (16)

Mule core concepts
Mule core conceptsMule core concepts
Mule core concepts
 
Mule Quartz connector
Mule Quartz connectorMule Quartz connector
Mule Quartz connector
 
Mule with quartz
Mule with quartzMule with quartz
Mule with quartz
 
Mule soa
Mule soaMule soa
Mule soa
 
Mule advanced
Mule advancedMule advanced
Mule advanced
 
Connectors in mule
Connectors in muleConnectors in mule
Connectors in mule
 
VM example in mule
VM example in muleVM example in mule
VM example in mule
 
Send email attachment using smtp in mule esb
Send email attachment using smtp in mule esbSend email attachment using smtp in mule esb
Send email attachment using smtp in mule esb
 
Filtering jms messages with mule
Filtering jms messages with muleFiltering jms messages with mule
Filtering jms messages with mule
 
Routing in mule
Routing in muleRouting in mule
Routing in mule
 
Rabbit Mq in Mule
Rabbit Mq in MuleRabbit Mq in Mule
Rabbit Mq in Mule
 
Webservice vm in mule
Webservice vm in muleWebservice vm in mule
Webservice vm in mule
 
Soap request in mule
Soap request in mule Soap request in mule
Soap request in mule
 
Mule - HTTP Listener
Mule - HTTP ListenerMule - HTTP Listener
Mule - HTTP Listener
 
Mule with composite source
Mule with composite sourceMule with composite source
Mule with composite source
 
Mule quartz
Mule quartz Mule quartz
Mule quartz
 

Viewers also liked

Verifone Q4 2016 Earnings
Verifone Q4 2016 EarningsVerifone Q4 2016 Earnings
Verifone Q4 2016 EarningsKashif Jamal
 
Kannan_C_Sukumaran
Kannan_C_SukumaranKannan_C_Sukumaran
Kannan_C_SukumaranKannan C S
 
Rpp bab kebersihan
Rpp bab kebersihanRpp bab kebersihan
Rpp bab kebersihan689386
 
портфоліо душнюк лілія
портфоліо душнюк ліліяпортфоліо душнюк лілія
портфоліо душнюк ліліяaaa77889900
 
презентация учнівського самоврядування15 16
презентация учнівського самоврядування15 16презентация учнівського самоврядування15 16
презентация учнівського самоврядування15 16aaa77889900
 
24.11.2010 Keynote address: Mongolia’s economic outlook 2011-2015 – What are ...
24.11.2010 Keynote address: Mongolia’s economic outlook 2011-2015 – What are ...24.11.2010 Keynote address: Mongolia’s economic outlook 2011-2015 – What are ...
24.11.2010 Keynote address: Mongolia’s economic outlook 2011-2015 – What are ...The Business Council of Mongolia
 
Domaine des finets
Domaine des finetsDomaine des finets
Domaine des finetsMariong84
 
Apresentação Ganhe Rapido
Apresentação Ganhe RapidoApresentação Ganhe Rapido
Apresentação Ganhe Rapidojhonny tafarel
 
BSS_Software Engineer_Accenture_5years-QA
BSS_Software Engineer_Accenture_5years-QABSS_Software Engineer_Accenture_5years-QA
BSS_Software Engineer_Accenture_5years-QASumit Shah
 

Viewers also liked (17)

22.04.2011, NEWSWIRE, Issue 164
22.04.2011, NEWSWIRE, Issue 16422.04.2011, NEWSWIRE, Issue 164
22.04.2011, NEWSWIRE, Issue 164
 
Verifone Q4 2016 Earnings
Verifone Q4 2016 EarningsVerifone Q4 2016 Earnings
Verifone Q4 2016 Earnings
 
Kannan_C_Sukumaran
Kannan_C_SukumaranKannan_C_Sukumaran
Kannan_C_Sukumaran
 
Rpp bab kebersihan
Rpp bab kebersihanRpp bab kebersihan
Rpp bab kebersihan
 
портфоліо душнюк лілія
портфоліо душнюк ліліяпортфоліо душнюк лілія
портфоліо душнюк лілія
 
презентация учнівського самоврядування15 16
презентация учнівського самоврядування15 16презентация учнівського самоврядування15 16
презентация учнівського самоврядування15 16
 
24.11.2010 Keynote address: Mongolia’s economic outlook 2011-2015 – What are ...
24.11.2010 Keynote address: Mongolia’s economic outlook 2011-2015 – What are ...24.11.2010 Keynote address: Mongolia’s economic outlook 2011-2015 – What are ...
24.11.2010 Keynote address: Mongolia’s economic outlook 2011-2015 – What are ...
 
CURRICULUM VITAE simba(dub copy og )
CURRICULUM VITAE simba(dub copy og )CURRICULUM VITAE simba(dub copy og )
CURRICULUM VITAE simba(dub copy og )
 
19.10.2007, NEWSWIRE, Issue 2
19.10.2007, NEWSWIRE, Issue 219.10.2007, NEWSWIRE, Issue 2
19.10.2007, NEWSWIRE, Issue 2
 
Domaine des finets
Domaine des finetsDomaine des finets
Domaine des finets
 
14.06.2013, NEWSWIRE, Issue 278
14.06.2013, NEWSWIRE, Issue 27814.06.2013, NEWSWIRE, Issue 278
14.06.2013, NEWSWIRE, Issue 278
 
26.07.2013, NEWSWIRE, Issue 284
26.07.2013, NEWSWIRE, Issue 28426.07.2013, NEWSWIRE, Issue 284
26.07.2013, NEWSWIRE, Issue 284
 
Glen
GlenGlen
Glen
 
28.02.2013, AREVA - Introduction, Lauren Bodin
28.02.2013,  AREVA - Introduction,  Lauren Bodin28.02.2013,  AREVA - Introduction,  Lauren Bodin
28.02.2013, AREVA - Introduction, Lauren Bodin
 
Apresentação Ganhe Rapido
Apresentação Ganhe RapidoApresentação Ganhe Rapido
Apresentação Ganhe Rapido
 
11.11.2015 macro risk outlook ankhbayar mandal- eng (1)
11.11.2015 macro risk outlook   ankhbayar mandal- eng (1)11.11.2015 macro risk outlook   ankhbayar mandal- eng (1)
11.11.2015 macro risk outlook ankhbayar mandal- eng (1)
 
BSS_Software Engineer_Accenture_5years-QA
BSS_Software Engineer_Accenture_5years-QABSS_Software Engineer_Accenture_5years-QA
BSS_Software Engineer_Accenture_5years-QA
 

Similar to Mule core concepts

Core concepts - mule
Core concepts - muleCore concepts - mule
Core concepts - muleSindhu VL
 
Working of mule
Working of muleWorking of mule
Working of muleSindhu VL
 
ESB introduction using Mule
ESB introduction using MuleESB introduction using Mule
ESB introduction using MuleKhasim Cise
 
How muleworks
How muleworksHow muleworks
How muleworksSindhu VL
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_componentsPaaras Baru
 
Mule ESB Interview or Certification questions
Mule ESB Interview or Certification questionsMule ESB Interview or Certification questions
Mule ESB Interview or Certification questionsTechieVarsity
 
Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003Jason Townsend, MBA
 
Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaJignesh Aakoliya
 
Top 50 MuleSoft interview questions
Top 50 MuleSoft interview questionsTop 50 MuleSoft interview questions
Top 50 MuleSoft interview questionstechievarsity
 

Similar to Mule core concepts (20)

Core concepts - mule
Core concepts - muleCore concepts - mule
Core concepts - mule
 
Mule core concepts
Mule core conceptsMule core concepts
Mule core concepts
 
Mulesoft ppt
Mulesoft pptMulesoft ppt
Mulesoft ppt
 
Overview of Mule
Overview of MuleOverview of Mule
Overview of Mule
 
Mulesoftppt
Mulesoftppt Mulesoftppt
Mulesoftppt
 
Axis2
Axis2Axis2
Axis2
 
Working of mule
Working of muleWorking of mule
Working of mule
 
Mule overview
Mule overviewMule overview
Mule overview
 
Mule ESB
Mule ESBMule ESB
Mule ESB
 
How muleworks
How muleworksHow muleworks
How muleworks
 
ESB introduction using Mule
ESB introduction using MuleESB introduction using Mule
ESB introduction using Mule
 
How muleworks
How muleworksHow muleworks
How muleworks
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_components
 
Mule
MuleMule
Mule
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule ESB Interview or Certification questions
Mule ESB Interview or Certification questionsMule ESB Interview or Certification questions
Mule ESB Interview or Certification questions
 
Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003Service Oriented Development With Windows Communication Foundation 2003
Service Oriented Development With Windows Communication Foundation 2003
 
Understanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company indiaUnderstanding Web Services by software outsourcing company india
Understanding Web Services by software outsourcing company india
 
Top 50 MuleSoft interview questions
Top 50 MuleSoft interview questionsTop 50 MuleSoft interview questions
Top 50 MuleSoft interview questions
 

More from Khadhar Koneti

Glip team integration with ring central
Glip team integration with ring centralGlip team integration with ring central
Glip team integration with ring centralKhadhar Koneti
 
Sms integration with ring central
Sms integration with ring centralSms integration with ring central
Sms integration with ring centralKhadhar Koneti
 
Ring central messaging api
Ring central messaging apiRing central messaging api
Ring central messaging apiKhadhar Koneti
 
Ring central voice api
Ring central voice apiRing central voice api
Ring central voice apiKhadhar Koneti
 
Ring central sdk overview
Ring central sdk overviewRing central sdk overview
Ring central sdk overviewKhadhar Koneti
 
Data weave documentation
Data weave documentationData weave documentation
Data weave documentationKhadhar Koneti
 

More from Khadhar Koneti (7)

Glip team integration with ring central
Glip team integration with ring centralGlip team integration with ring central
Glip team integration with ring central
 
Sms integration with ring central
Sms integration with ring centralSms integration with ring central
Sms integration with ring central
 
Call ringout app
Call ringout appCall ringout app
Call ringout app
 
Ring central messaging api
Ring central messaging apiRing central messaging api
Ring central messaging api
 
Ring central voice api
Ring central voice apiRing central voice api
Ring central voice api
 
Ring central sdk overview
Ring central sdk overviewRing central sdk overview
Ring central sdk overview
 
Data weave documentation
Data weave documentationData weave documentation
Data weave documentation
 

Recently uploaded

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Mule core concepts

  • 2. Model :  The first logical layer is the model layer. A Mule model represents the run-time environment that hosts services.  It defines the behavior of Mule when processing requests handled by these services.  Consequently, the model that the Mule instance would host would establish a runtime environment optimized for asynchronous processing of messages, as no synchronous reply is expected anywhere in the overall message processing chain.
  • 3. Service :  A Mule service is composed of all the Mule entities involved in processing particular requests in predefined manners.  A service is defined by a specific configuration. This configuration determines the different elements, from the different layers of responsibility, that will be mobilized to process the requests that it'll be open to receive.  Depending on the type of input channel it uses, a service may or may not be publicly accessible outside of the ESB.  For the time it gets handled by a service, a request is associated with a session object.  As its name suggests, this object carries all the necessary context for the pro-cessing of a message while it transits through the service.
  • 4. Transports :  The transport layer is in charge of receiving or sending messages. This is why it's involved with both inbound and outbound communications.  A transport manifests itself in the configuration by the following elements: connectors, endpoints and transformers.
  • 5. Connectors :  A connector is in charge of controlling the usage of a particular protocol.  It's configured with parameters that are specific to this protocol and holds any state that can be shared with the underlying entities in charge of the actual communications.  For example, the FileConnector can read and write file system files.
  • 6. Configuring connectors :  FileConnector  JDBC Connector  HTTP Connector  STDIO Connector  JMS Connector  Proceed to next slide to see the configuration of all the above connectors.
  • 7. FileConnector : The configuration for file connector is as follows: <file:connector name="FileConnector" streaming="false" pollingFrequency="1000"> <file:expression-filename-parser/> </file:connector>
  • 8. JDBC Connector : The configuration for JDBC connector is as follows : <jdbc:connector name="jdbcConnector" dataSource-ref="dataSource“> <jdbc:query key="statsInsert" value="insert into alerts values (0, 344, Sindhu', Vankam')"/> </jdbc:connector>
  • 9. HTTP Connector : The configuration for HTTP connector is as follows : <http:connector name="HttpConnector" proxyHostname="${proxyHostname}" proxyPort=="${proxyPort}" proxyUsername="${proxyUsername}" proxyPassword="${proxyPassword}"/>
  • 10. STDIO Connector : The configuration for STDIO connector is as follows : <stdio:connector name="SystemStreamConnector" promptMessage="Please enter something:" messageDelayTime="1000" />
  • 11. JMS Connector : The configuration for JMS connector is as follows : <jms:activemq-connector name="jmsQueueConnector" specification="1.0.2b" brokerURL="tcp://localhost:61616" />
  • 12. Endpoints :  Inbound and outbound endpoints exist in the context of a particular service and represent the expected entry and exit points for messages, respectively.  These end-points are defined in the inbound and outbound routers.  It's also possible to define an inbound endpoint in a response router.  In that case, the inbound endpoint acts as a response endpoint where asynchronous replies will be consolidated before the service returns its own response.  Global endpoints can be considered abstract entities that get reified only when referenced in the context of a service: as such, they're a convenient way to share common configuration attributes.
  • 13. Transformer :  A transformer optionally changes incoming or outgoing messages in some way.This is usually done to make the message format useable by a downstream function For examples, the ByteArrayToString transformer converts byte arrays into String objects.If we want our own transformers to convert input we can write our own java and we can call from the mule. We can implement custom java transformer by extends AbstractTransformer and AbstractMessageAwareTransformer. AbstractTransformer is a normal Transformer, it will carry only payload in the sense input/result from before execution. AbstractMessageAwareTransformer is a special transformer, It will carry payload, messahe properties of mule and alo details regarding exception.
  • 14. Routers :  Routers play a crucial role in controlling the trajectory a message will follow when it transits in Mule.  They're the gatekeepers of the endpoints of a service. In fact, they act like railroad switches, taking care of keeping messages on the right succession of tracks so they can reach their intended destinations. A router is the object that does something with messages once they have been received by a connector, or prior to being sent out by the connector. pass-through-router: Input will pass as it is to outbound from inbound. Single service will be available. filtering-router: input will pass based on condition it's like filtering input. Multiple Services will be available. chaining-router: Every statement will pick up by procedure functionality, nothing but there is no condition after finishing one service it will go to the next service. Multiple Services will be available. etc...
  • 15. Filter :  A filter optionally filters incoming or outgoing messages that are coming into or going out from a connector.  For example, the File Provider comes with a FilenameWildcardFilter that restricts which files are read by the connector based on file name patterns.  For example only files with the .xml extension can be routed.  Note: writing condition is filtering-router and way of condition is filter. Based on filter, service will be picking up by filtering-router.
  • 16. Components :  Components are usually business objects.  They are components that execute business logic on an incoming event.  Components are standard JavaBeans (containers).  There is no Mule-specific code in components, it is a java class to implement business logic especially.