SlideShare a Scribd company logo
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)

PPTX
Mule core concepts
Sindhu VL
 
PPTX
Mule Quartz connector
Ankush Sharma
 
PPTX
Mule with quartz
Anirban Sen Chowdhary
 
PPTX
Mule soa
Son Nguyen
 
PPTX
Mule advanced
D.Rajesh Kumar
 
PPTX
Connectors in mule
Sindhu VL
 
PPTX
VM example in mule
Anirban Sen Chowdhary
 
PPTX
Send email attachment using smtp in mule esb
Praneethchampion
 
PPTX
Filtering jms messages with mule
Anirban Sen Chowdhary
 
PPTX
Routing in mule
Hari Gatadi
 
PPTX
Rabbit Mq in Mule
Mohammed246
 
PPTX
Webservice vm in mule
Praneethchampion
 
PPTX
Soap request in mule
Praneethchampion
 
PPT
Mule - HTTP Listener
Ankush Sharma
 
PPTX
Mule with composite source
Anirban Sen Chowdhary
 
PPTX
Mule quartz
Praneethchampion
 
Mule core concepts
Sindhu VL
 
Mule Quartz connector
Ankush Sharma
 
Mule with quartz
Anirban Sen Chowdhary
 
Mule soa
Son Nguyen
 
Mule advanced
D.Rajesh Kumar
 
Connectors in mule
Sindhu VL
 
VM example in mule
Anirban Sen Chowdhary
 
Send email attachment using smtp in mule esb
Praneethchampion
 
Filtering jms messages with mule
Anirban Sen Chowdhary
 
Routing in mule
Hari Gatadi
 
Rabbit Mq in Mule
Mohammed246
 
Webservice vm in mule
Praneethchampion
 
Soap request in mule
Praneethchampion
 
Mule - HTTP Listener
Ankush Sharma
 
Mule with composite source
Anirban Sen Chowdhary
 
Mule quartz
Praneethchampion
 

Viewers also liked (17)

PDF
22.04.2011, NEWSWIRE, Issue 164
The Business Council of Mongolia
 
PDF
Verifone Q4 2016 Earnings
Kashif Jamal
 
DOCX
Kannan_C_Sukumaran
Kannan C S
 
DOCX
Rpp bab kebersihan
689386
 
PPTX
портфоліо душнюк лілія
aaa77889900
 
PPT
презентация учнівського самоврядування15 16
aaa77889900
 
PDF
24.11.2010 Keynote address: Mongolia’s economic outlook 2011-2015 – What are ...
The Business Council of Mongolia
 
DOCX
CURRICULUM VITAE simba(dub copy og )
Simbarashe Paul Garandiya
 
PDF
19.10.2007, NEWSWIRE, Issue 2
The Business Council of Mongolia
 
PPTX
Domaine des finets
Mariong84
 
PDF
14.06.2013, NEWSWIRE, Issue 278
The Business Council of Mongolia
 
PDF
26.07.2013, NEWSWIRE, Issue 284
The Business Council of Mongolia
 
PDF
Glen
Kashif Jamal
 
PDF
28.02.2013, AREVA - Introduction, Lauren Bodin
The Business Council of Mongolia
 
PPTX
Apresentação Ganhe Rapido
jhonny tafarel
 
PDF
11.11.2015 macro risk outlook ankhbayar mandal- eng (1)
The Business Council of Mongolia
 
DOCX
BSS_Software Engineer_Accenture_5years-QA
Sumit Shah
 
22.04.2011, NEWSWIRE, Issue 164
The Business Council of Mongolia
 
Verifone Q4 2016 Earnings
Kashif Jamal
 
Kannan_C_Sukumaran
Kannan C S
 
Rpp bab kebersihan
689386
 
портфоліо душнюк лілія
aaa77889900
 
презентация учнівського самоврядування15 16
aaa77889900
 
24.11.2010 Keynote address: Mongolia’s economic outlook 2011-2015 – What are ...
The Business Council of Mongolia
 
CURRICULUM VITAE simba(dub copy og )
Simbarashe Paul Garandiya
 
19.10.2007, NEWSWIRE, Issue 2
The Business Council of Mongolia
 
Domaine des finets
Mariong84
 
14.06.2013, NEWSWIRE, Issue 278
The Business Council of Mongolia
 
26.07.2013, NEWSWIRE, Issue 284
The Business Council of Mongolia
 
28.02.2013, AREVA - Introduction, Lauren Bodin
The Business Council of Mongolia
 
Apresentação Ganhe Rapido
jhonny tafarel
 
11.11.2015 macro risk outlook ankhbayar mandal- eng (1)
The Business Council of Mongolia
 
BSS_Software Engineer_Accenture_5years-QA
Sumit Shah
 
Ad

Similar to Mule core concepts (20)

PPTX
Mule core concepts
VirtusaPolaris
 
PPTX
Core concepts - mule
Sindhu VL
 
PPT
Overview of Mule
AbdulImrankhan7
 
PPT
Overview of Mule
mdfkhan625
 
PPT
Mulesoftppt
ennVee TechnoGroup Inc.
 
PPT
Mule overview
Rajkattamuri
 
PPT
Mule enterprise service bus
Thang Loi
 
PPT
Mule overview
Sandhya Sandy
 
PPT
ESB introduction using Mule
Khasim Cise
 
PPT
Mule overview
Praneethchampion
 
PPT
Mule Overview
AbdulImrankhan7
 
PPT
Mule overview
Mohammed625
 
PPTX
Niranjan mule esb
niranjan1234567
 
PPTX
Mule esb naveen
naveenkodumuri12
 
PPT
Mule introduction
Satya Sekhar Das Mandal
 
PPTX
Mule overview
nikitjain2011
 
PPTX
Mule esb
charan teja R
 
PPTX
Mule esb
Phaniu
 
PPTX
Mule esb
vishnukanthro45
 
PPTX
Mule esb Basics
Sunil Komarapu
 
Mule core concepts
VirtusaPolaris
 
Core concepts - mule
Sindhu VL
 
Overview of Mule
AbdulImrankhan7
 
Overview of Mule
mdfkhan625
 
Mule overview
Rajkattamuri
 
Mule enterprise service bus
Thang Loi
 
Mule overview
Sandhya Sandy
 
ESB introduction using Mule
Khasim Cise
 
Mule overview
Praneethchampion
 
Mule Overview
AbdulImrankhan7
 
Mule overview
Mohammed625
 
Niranjan mule esb
niranjan1234567
 
Mule esb naveen
naveenkodumuri12
 
Mule introduction
Satya Sekhar Das Mandal
 
Mule overview
nikitjain2011
 
Mule esb
charan teja R
 
Mule esb
Phaniu
 
Mule esb
vishnukanthro45
 
Mule esb Basics
Sunil Komarapu
 
Ad

More from Khadhar Koneti (8)

PPTX
Glip team integration with ring central
Khadhar Koneti
 
PPTX
Sms integration with ring central
Khadhar Koneti
 
PPTX
Call ringout app
Khadhar Koneti
 
PPTX
Ring central messaging api
Khadhar Koneti
 
PPTX
Ring central voice api
Khadhar Koneti
 
PPTX
Ring central sdk overview
Khadhar Koneti
 
PPTX
How muleworks
Khadhar Koneti
 
PPTX
Data weave documentation
Khadhar Koneti
 
Glip team integration with ring central
Khadhar Koneti
 
Sms integration with ring central
Khadhar Koneti
 
Call ringout app
Khadhar Koneti
 
Ring central messaging api
Khadhar Koneti
 
Ring central voice api
Khadhar Koneti
 
Ring central sdk overview
Khadhar Koneti
 
How muleworks
Khadhar Koneti
 
Data weave documentation
Khadhar Koneti
 

Recently uploaded (20)

PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
SalesForce Managed Services Benefits (1).pdf
TechForce Services
 
PDF
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PPTX
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
SalesForce Managed Services Benefits (1).pdf
TechForce Services
 
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
Machine Learning Benefits Across Industries
SynapseIndia
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
The Future of Artificial Intelligence (AI)
Mukul
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Market Insight : ETH Dominance Returns
CIFDAQ
 

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.