SlideShare a Scribd company logo
Presented by
Sindhu VL
Concepts in Mule
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
Ad

More Related Content

What's hot (18)

Routing in mule
Routing in muleRouting in mule
Routing in mule
Hari Gatadi
 
Mule soap
Mule soapMule soap
Mule soap
Khasim Saheb
 
Bindings of components in mule
Bindings of components in muleBindings of components in mule
Bindings of components in mule
sathishmca143
 
Webservice vm in mule
Webservice vm in muleWebservice vm in mule
Webservice vm in mule
Praneethchampion
 
VM example in mule
VM example in muleVM example in mule
VM example in mule
Anirban Sen Chowdhary
 
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
Anand kalla
 
Using mule with web services
Using mule with web servicesUsing mule with web services
Using mule with web services
Shanky Gupta
 
Mule soa
Mule soaMule soa
Mule soa
Son Nguyen
 
Web service vm in mule
Web service vm in muleWeb service vm in mule
Web service vm in mule
Mohammed246
 
Mule soa
Mule soaMule soa
Mule soa
Khasim Saheb
 
Mule esb
Mule esbMule esb
Mule esb
sathyaraj Anand
 
Mule - HTTP Listener
Mule - HTTP ListenerMule - HTTP Listener
Mule - HTTP Listener
Ankush Sharma
 
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
Praneethchampion
 
Overview of Mule
Overview of MuleOverview of Mule
Overview of Mule
mdfkhan625
 
Mule high availability (ha) cluster
Mule high availability (ha) clusterMule high availability (ha) cluster
Mule high availability (ha) cluster
Achyuta Lakshmi
 
Mulesoft file connector
Mulesoft file connectorMulesoft file connector
Mulesoft file connector
kumar gaurav
 
Service orchestration by using flows
Service orchestration by using flowsService orchestration by using flows
Service orchestration by using flows
sathishmca143
 
Mule rabbitmq
Mule rabbitmqMule rabbitmq
Mule rabbitmq
Praneethchampion
 
Bindings of components in mule
Bindings of components in muleBindings of components in mule
Bindings of components in mule
sathishmca143
 
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
Anand kalla
 
Using mule with web services
Using mule with web servicesUsing mule with web services
Using mule with web services
Shanky Gupta
 
Web service vm in mule
Web service vm in muleWeb service vm in mule
Web service vm in mule
Mohammed246
 
Mule - HTTP Listener
Mule - HTTP ListenerMule - HTTP Listener
Mule - HTTP Listener
Ankush Sharma
 
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
Praneethchampion
 
Overview of Mule
Overview of MuleOverview of Mule
Overview of Mule
mdfkhan625
 
Mule high availability (ha) cluster
Mule high availability (ha) clusterMule high availability (ha) cluster
Mule high availability (ha) cluster
Achyuta Lakshmi
 
Mulesoft file connector
Mulesoft file connectorMulesoft file connector
Mulesoft file connector
kumar gaurav
 
Service orchestration by using flows
Service orchestration by using flowsService orchestration by using flows
Service orchestration by using flows
sathishmca143
 

Viewers also liked (20)

Xslt attributes
Xslt attributesXslt attributes
Xslt attributes
Sindhu VL
 
Mule errors
Mule errorsMule errors
Mule errors
Sindhu VL
 
Mule fundamentals
Mule fundamentalsMule fundamentals
Mule fundamentals
Sindhu VL
 
File connector mule
File connector   muleFile connector   mule
File connector mule
Sindhu VL
 
Mule core concepts
Mule core conceptsMule core concepts
Mule core concepts
Sindhu VL
 
Mule requestor component
Mule requestor componentMule requestor component
Mule requestor component
Sindhu VL
 
Mule for beginners
Mule for beginnersMule for beginners
Mule for beginners
Sindhu VL
 
Mule esb
Mule esbMule esb
Mule esb
Sindhu VL
 
Munit
MunitMunit
Munit
Sindhu VL
 
Working of mule
Working of muleWorking of mule
Working of mule
Sindhu VL
 
Encrption in mule
Encrption in muleEncrption in mule
Encrption in mule
Sindhu VL
 
Bindings of components in mule
Bindings of components in muleBindings of components in mule
Bindings of components in mule
Sindhu VL
 
Quartz connector mule
Quartz connector   muleQuartz connector   mule
Quartz connector mule
Sindhu VL
 
Xslt elements
Xslt elementsXslt elements
Xslt elements
Sindhu VL
 
Mule debugging
Mule   debuggingMule   debugging
Mule debugging
Sindhu VL
 
Content based routing tutorial in mule
Content based routing tutorial in muleContent based routing tutorial in mule
Content based routing tutorial in mule
Sindhu VL
 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with mule
Sindhu VL
 
Enterprise service bus mule
Enterprise service bus  muleEnterprise service bus  mule
Enterprise service bus mule
Sindhu VL
 
Using flows for service orchestration
Using flows for service orchestrationUsing flows for service orchestration
Using flows for service orchestration
Sindhu VL
 
Component bindings in mule
Component bindings in muleComponent bindings in mule
Component bindings in mule
Sindhu VL
 
Xslt attributes
Xslt attributesXslt attributes
Xslt attributes
Sindhu VL
 
Mule fundamentals
Mule fundamentalsMule fundamentals
Mule fundamentals
Sindhu VL
 
File connector mule
File connector   muleFile connector   mule
File connector mule
Sindhu VL
 
Mule core concepts
Mule core conceptsMule core concepts
Mule core concepts
Sindhu VL
 
Mule requestor component
Mule requestor componentMule requestor component
Mule requestor component
Sindhu VL
 
Mule for beginners
Mule for beginnersMule for beginners
Mule for beginners
Sindhu VL
 
Working of mule
Working of muleWorking of mule
Working of mule
Sindhu VL
 
Encrption in mule
Encrption in muleEncrption in mule
Encrption in mule
Sindhu VL
 
Bindings of components in mule
Bindings of components in muleBindings of components in mule
Bindings of components in mule
Sindhu VL
 
Quartz connector mule
Quartz connector   muleQuartz connector   mule
Quartz connector mule
Sindhu VL
 
Xslt elements
Xslt elementsXslt elements
Xslt elements
Sindhu VL
 
Mule debugging
Mule   debuggingMule   debugging
Mule debugging
Sindhu VL
 
Content based routing tutorial in mule
Content based routing tutorial in muleContent based routing tutorial in mule
Content based routing tutorial in mule
Sindhu VL
 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with mule
Sindhu VL
 
Enterprise service bus mule
Enterprise service bus  muleEnterprise service bus  mule
Enterprise service bus mule
Sindhu VL
 
Using flows for service orchestration
Using flows for service orchestrationUsing flows for service orchestration
Using flows for service orchestration
Sindhu VL
 
Component bindings in mule
Component bindings in muleComponent bindings in mule
Component bindings in mule
Sindhu VL
 
Ad

Similar to Concepts in mule (20)

Core concepts - mule
Core concepts - muleCore concepts - mule
Core concepts - mule
Sindhu VL
 
Mule core concepts
Mule core conceptsMule core concepts
Mule core concepts
VirtusaPolaris
 
Overview of Mule
Overview of MuleOverview of Mule
Overview of Mule
AbdulImrankhan7
 
Mulesoftppt
Mulesoftppt Mulesoftppt
Mulesoftppt
ennVee TechnoGroup Inc.
 
How muleworks
How muleworksHow muleworks
How muleworks
Sindhu VL
 
Mulesoft ppt
Mulesoft pptMulesoft ppt
Mulesoft ppt
kishore ippili
 
Mule overview
Mule overviewMule overview
Mule overview
Rajkattamuri
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_components
Paaras Baru
 
Mule ESB
Mule ESBMule ESB
Mule ESB
Yura Nosenko
 
Axis2
Axis2Axis2
Axis2
Muktesh Mukul
 
Mule
MuleMule
Mule
D.Rajesh Kumar
 
Mule esb
Mule esbMule esb
Mule esb
himajareddys
 
Mule esb
Mule esbMule esb
Mule esb
himajareddys
 
Mule esb presentation 2015
Mule esb presentation 2015Mule esb presentation 2015
Mule esb presentation 2015
Nagesh Penumarthy
 
Web services SOAP Notes
Web services SOAP NotesWeb services SOAP Notes
Web services SOAP Notes
Sunil Kumar Gunasekaran
 
WSDL
WSDLWSDL
WSDL
Akshay Ballarpure
 
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
Jignesh Aakoliya
 
Mule ESB Interview or Certification questions
Mule ESB Interview or Certification questionsMule ESB Interview or Certification questions
Mule ESB Interview or Certification questions
TechieVarsity
 
Web Service Extensions | Torry Harris Whitepaper
Web Service Extensions | Torry Harris WhitepaperWeb Service Extensions | Torry Harris Whitepaper
Web Service Extensions | Torry Harris Whitepaper
Torry Harris Business Solutions
 
Top 50 MuleSoft interview questions
Top 50 MuleSoft interview questionsTop 50 MuleSoft interview questions
Top 50 MuleSoft interview questions
techievarsity
 
Ad

More from Sindhu VL (17)

Mule - error handling
Mule - error handling Mule - error handling
Mule - error handling
Sindhu VL
 
Mule - beginners guide
Mule - beginners guideMule - beginners guide
Mule - beginners guide
Sindhu VL
 
Error handling with respect to mule
Error handling with respect to muleError handling with respect to mule
Error handling with respect to mule
Sindhu VL
 
Basics of mule for beginners
Basics of mule for beginnersBasics of mule for beginners
Basics of mule for beginners
Sindhu VL
 
Mule testing
Mule   testingMule   testing
Mule testing
Sindhu VL
 
Mule securing
Mule   securingMule   securing
Mule securing
Sindhu VL
 
Service orchestration by using flows
Service orchestration by using flowsService orchestration by using flows
Service orchestration by using flows
Sindhu VL
 
Configuration patterns in mule
Configuration patterns in muleConfiguration patterns in mule
Configuration patterns in mule
Sindhu VL
 
Using mule configuration patterns
Using mule configuration patternsUsing mule configuration patterns
Using mule configuration patterns
Sindhu VL
 
Groovy component
Groovy componentGroovy component
Groovy component
Sindhu VL
 
Mule esb for beginners
Mule esb for beginnersMule esb for beginners
Mule esb for beginners
Sindhu VL
 
Design flows in mule
Design flows in muleDesign flows in mule
Design flows in mule
Sindhu VL
 
Xslt mule
Xslt   muleXslt   mule
Xslt mule
Sindhu VL
 
Flows in mule
Flows in muleFlows in mule
Flows in mule
Sindhu VL
 
Connectors in mule
Connectors in muleConnectors in mule
Connectors in mule
Sindhu VL
 
Flows and subflows in mule
Flows and subflows in muleFlows and subflows in mule
Flows and subflows in mule
Sindhu VL
 
Choice router mule
Choice router   muleChoice router   mule
Choice router mule
Sindhu VL
 
Mule - error handling
Mule - error handling Mule - error handling
Mule - error handling
Sindhu VL
 
Mule - beginners guide
Mule - beginners guideMule - beginners guide
Mule - beginners guide
Sindhu VL
 
Error handling with respect to mule
Error handling with respect to muleError handling with respect to mule
Error handling with respect to mule
Sindhu VL
 
Basics of mule for beginners
Basics of mule for beginnersBasics of mule for beginners
Basics of mule for beginners
Sindhu VL
 
Mule testing
Mule   testingMule   testing
Mule testing
Sindhu VL
 
Mule securing
Mule   securingMule   securing
Mule securing
Sindhu VL
 
Service orchestration by using flows
Service orchestration by using flowsService orchestration by using flows
Service orchestration by using flows
Sindhu VL
 
Configuration patterns in mule
Configuration patterns in muleConfiguration patterns in mule
Configuration patterns in mule
Sindhu VL
 
Using mule configuration patterns
Using mule configuration patternsUsing mule configuration patterns
Using mule configuration patterns
Sindhu VL
 
Groovy component
Groovy componentGroovy component
Groovy component
Sindhu VL
 
Mule esb for beginners
Mule esb for beginnersMule esb for beginners
Mule esb for beginners
Sindhu VL
 
Design flows in mule
Design flows in muleDesign flows in mule
Design flows in mule
Sindhu VL
 
Flows in mule
Flows in muleFlows in mule
Flows in mule
Sindhu VL
 
Connectors in mule
Connectors in muleConnectors in mule
Connectors in mule
Sindhu VL
 
Flows and subflows in mule
Flows and subflows in muleFlows and subflows in mule
Flows and subflows in mule
Sindhu VL
 
Choice router mule
Choice router   muleChoice router   mule
Choice router mule
Sindhu VL
 

Recently uploaded (20)

Steam-Education-PowerPoint-Templates.pptx
Steam-Education-PowerPoint-Templates.pptxSteam-Education-PowerPoint-Templates.pptx
Steam-Education-PowerPoint-Templates.pptx
andripapa1
 
19 Best B,u,y Verified Cash App Accounts
19 Best B,u,y Verified Cash App Accounts19 Best B,u,y Verified Cash App Accounts
19 Best B,u,y Verified Cash App Accounts
https://sellsusa.com/product/buy-verified-cash-app-accounts/
 
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdfEEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
CastroAngeloReoD
 
Download Chimera Tool Setup V42.47.0924 [Latest Version]
Download Chimera Tool Setup V42.47.0924 [Latest Version]Download Chimera Tool Setup V42.47.0924 [Latest Version]
Download Chimera Tool Setup V42.47.0924 [Latest Version]
Designer
 
behiriskfactorsxyzkskeb210217133906 (1).pdf
behiriskfactorsxyzkskeb210217133906 (1).pdfbehiriskfactorsxyzkskeb210217133906 (1).pdf
behiriskfactorsxyzkskeb210217133906 (1).pdf
ShakibulHasan14
 
Flowers Coloring Pages Activity Worksheet in Black and White Illustrative Style
Flowers Coloring Pages Activity Worksheet in Black and White Illustrative StyleFlowers Coloring Pages Activity Worksheet in Black and White Illustrative Style
Flowers Coloring Pages Activity Worksheet in Black and White Illustrative Style
Likazelika
 
The Irrational City | Unseen Forces of Placemaking
The Irrational City | Unseen Forces of PlacemakingThe Irrational City | Unseen Forces of Placemaking
The Irrational City | Unseen Forces of Placemaking
Leanne Munyori
 
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
SlidesBrain
 
AR.AKSHAYA PAMBALATH-PORTFOLIOFINAL_.pdf
AR.AKSHAYA PAMBALATH-PORTFOLIOFINAL_.pdfAR.AKSHAYA PAMBALATH-PORTFOLIOFINAL_.pdf
AR.AKSHAYA PAMBALATH-PORTFOLIOFINAL_.pdf
akshayap23
 
STOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan sSTOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan s
kfdpontianak2012
 
Templates Wind Generator.pdf ahí. Ais d Ai d f
Templates Wind Generator.pdf ahí. Ais d Ai d fTemplates Wind Generator.pdf ahí. Ais d Ai d f
Templates Wind Generator.pdf ahí. Ais d Ai d f
jeremysegundob
 
Halstead’s_Software_Science_&_Putnam’s_Model[1].pptx
Halstead’s_Software_Science_&_Putnam’s_Model[1].pptxHalstead’s_Software_Science_&_Putnam’s_Model[1].pptx
Halstead’s_Software_Science_&_Putnam’s_Model[1].pptx
prachiikumarii1
 
Designing Interactive and Engaging Museum Exhibits
Designing Interactive and Engaging Museum ExhibitsDesigning Interactive and Engaging Museum Exhibits
Designing Interactive and Engaging Museum Exhibits
Peach Prime Consultancy
 
2nd taxonomy, nomen microorganisms-.pptx
2nd  taxonomy, nomen  microorganisms-.pptx2nd  taxonomy, nomen  microorganisms-.pptx
2nd taxonomy, nomen microorganisms-.pptx
ayeleasefa2
 
Venngage AI Infographic Generator- AI-powered visuals that turn your ideas in...
Venngage AI Infographic Generator- AI-powered visuals that turn your ideas in...Venngage AI Infographic Generator- AI-powered visuals that turn your ideas in...
Venngage AI Infographic Generator- AI-powered visuals that turn your ideas in...
Venngage AI Infographic Generator
 
𝗗𝗲𝘀𝗶𝗴𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗮𝗹𝗹: 𝗜𝗻𝗰𝗹𝘂𝘀𝗶𝘃𝗲 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲 𝗳𝗼𝗿 𝗕𝗲𝘁𝘁𝗲𝗿 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲𝘀
𝗗𝗲𝘀𝗶𝗴𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗮𝗹𝗹: 𝗜𝗻𝗰𝗹𝘂𝘀𝗶𝘃𝗲 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲 𝗳𝗼𝗿 𝗕𝗲𝘁𝘁𝗲𝗿 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲𝘀𝗗𝗲𝘀𝗶𝗴𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗮𝗹𝗹: 𝗜𝗻𝗰𝗹𝘂𝘀𝗶𝘃𝗲 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲 𝗳𝗼𝗿 𝗕𝗲𝘁𝘁𝗲𝗿 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲𝘀
𝗗𝗲𝘀𝗶𝗴𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗮𝗹𝗹: 𝗜𝗻𝗰𝗹𝘂𝘀𝗶𝘃𝗲 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲 𝗳𝗼𝗿 𝗕𝗲𝘁𝘁𝗲𝗿 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲𝘀
Friends of Figm a, Sydney
 
10.1155-2024-1048933Figurefig0008.pptx.ppt
10.1155-2024-1048933Figurefig0008.pptx.ppt10.1155-2024-1048933Figurefig0008.pptx.ppt
10.1155-2024-1048933Figurefig0008.pptx.ppt
suchandasaha7
 
presentation on healing architecture .pptx
presentation on healing architecture .pptxpresentation on healing architecture .pptx
presentation on healing architecture .pptx
buildnpl
 
Minimalist Business Slides XL by Slidesgo.pptx
Minimalist Business Slides XL by Slidesgo.pptxMinimalist Business Slides XL by Slidesgo.pptx
Minimalist Business Slides XL by Slidesgo.pptx
karenalavamoran
 
COTTER and KNUCKleeeeeeeeeeeeeeeeeee.pptx
COTTER and  KNUCKleeeeeeeeeeeeeeeeeee.pptxCOTTER and  KNUCKleeeeeeeeeeeeeeeeeee.pptx
COTTER and KNUCKleeeeeeeeeeeeeeeeeee.pptx
ayushjadon04
 
Steam-Education-PowerPoint-Templates.pptx
Steam-Education-PowerPoint-Templates.pptxSteam-Education-PowerPoint-Templates.pptx
Steam-Education-PowerPoint-Templates.pptx
andripapa1
 
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdfEEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
CastroAngeloReoD
 
Download Chimera Tool Setup V42.47.0924 [Latest Version]
Download Chimera Tool Setup V42.47.0924 [Latest Version]Download Chimera Tool Setup V42.47.0924 [Latest Version]
Download Chimera Tool Setup V42.47.0924 [Latest Version]
Designer
 
behiriskfactorsxyzkskeb210217133906 (1).pdf
behiriskfactorsxyzkskeb210217133906 (1).pdfbehiriskfactorsxyzkskeb210217133906 (1).pdf
behiriskfactorsxyzkskeb210217133906 (1).pdf
ShakibulHasan14
 
Flowers Coloring Pages Activity Worksheet in Black and White Illustrative Style
Flowers Coloring Pages Activity Worksheet in Black and White Illustrative StyleFlowers Coloring Pages Activity Worksheet in Black and White Illustrative Style
Flowers Coloring Pages Activity Worksheet in Black and White Illustrative Style
Likazelika
 
The Irrational City | Unseen Forces of Placemaking
The Irrational City | Unseen Forces of PlacemakingThe Irrational City | Unseen Forces of Placemaking
The Irrational City | Unseen Forces of Placemaking
Leanne Munyori
 
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
SlidesBrain
 
AR.AKSHAYA PAMBALATH-PORTFOLIOFINAL_.pdf
AR.AKSHAYA PAMBALATH-PORTFOLIOFINAL_.pdfAR.AKSHAYA PAMBALATH-PORTFOLIOFINAL_.pdf
AR.AKSHAYA PAMBALATH-PORTFOLIOFINAL_.pdf
akshayap23
 
STOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan sSTOCK ANALYSYS.pptx manajemen keuangan s
STOCK ANALYSYS.pptx manajemen keuangan s
kfdpontianak2012
 
Templates Wind Generator.pdf ahí. Ais d Ai d f
Templates Wind Generator.pdf ahí. Ais d Ai d fTemplates Wind Generator.pdf ahí. Ais d Ai d f
Templates Wind Generator.pdf ahí. Ais d Ai d f
jeremysegundob
 
Halstead’s_Software_Science_&_Putnam’s_Model[1].pptx
Halstead’s_Software_Science_&_Putnam’s_Model[1].pptxHalstead’s_Software_Science_&_Putnam’s_Model[1].pptx
Halstead’s_Software_Science_&_Putnam’s_Model[1].pptx
prachiikumarii1
 
Designing Interactive and Engaging Museum Exhibits
Designing Interactive and Engaging Museum ExhibitsDesigning Interactive and Engaging Museum Exhibits
Designing Interactive and Engaging Museum Exhibits
Peach Prime Consultancy
 
2nd taxonomy, nomen microorganisms-.pptx
2nd  taxonomy, nomen  microorganisms-.pptx2nd  taxonomy, nomen  microorganisms-.pptx
2nd taxonomy, nomen microorganisms-.pptx
ayeleasefa2
 
Venngage AI Infographic Generator- AI-powered visuals that turn your ideas in...
Venngage AI Infographic Generator- AI-powered visuals that turn your ideas in...Venngage AI Infographic Generator- AI-powered visuals that turn your ideas in...
Venngage AI Infographic Generator- AI-powered visuals that turn your ideas in...
Venngage AI Infographic Generator
 
𝗗𝗲𝘀𝗶𝗴𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗮𝗹𝗹: 𝗜𝗻𝗰𝗹𝘂𝘀𝗶𝘃𝗲 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲 𝗳𝗼𝗿 𝗕𝗲𝘁𝘁𝗲𝗿 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲𝘀
𝗗𝗲𝘀𝗶𝗴𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗮𝗹𝗹: 𝗜𝗻𝗰𝗹𝘂𝘀𝗶𝘃𝗲 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲 𝗳𝗼𝗿 𝗕𝗲𝘁𝘁𝗲𝗿 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲𝘀𝗗𝗲𝘀𝗶𝗴𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗮𝗹𝗹: 𝗜𝗻𝗰𝗹𝘂𝘀𝗶𝘃𝗲 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲 𝗳𝗼𝗿 𝗕𝗲𝘁𝘁𝗲𝗿 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲𝘀
𝗗𝗲𝘀𝗶𝗴𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗮𝗹𝗹: 𝗜𝗻𝗰𝗹𝘂𝘀𝗶𝘃𝗲 𝗣𝗿𝗮𝗰𝘁𝗶𝗰𝗲 𝗳𝗼𝗿 𝗕𝗲𝘁𝘁𝗲𝗿 𝗘𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲𝘀
Friends of Figm a, Sydney
 
10.1155-2024-1048933Figurefig0008.pptx.ppt
10.1155-2024-1048933Figurefig0008.pptx.ppt10.1155-2024-1048933Figurefig0008.pptx.ppt
10.1155-2024-1048933Figurefig0008.pptx.ppt
suchandasaha7
 
presentation on healing architecture .pptx
presentation on healing architecture .pptxpresentation on healing architecture .pptx
presentation on healing architecture .pptx
buildnpl
 
Minimalist Business Slides XL by Slidesgo.pptx
Minimalist Business Slides XL by Slidesgo.pptxMinimalist Business Slides XL by Slidesgo.pptx
Minimalist Business Slides XL by Slidesgo.pptx
karenalavamoran
 
COTTER and KNUCKleeeeeeeeeeeeeeeeeee.pptx
COTTER and  KNUCKleeeeeeeeeeeeeeeeeee.pptxCOTTER and  KNUCKleeeeeeeeeeeeeeeeeee.pptx
COTTER and KNUCKleeeeeeeeeeeeeeeeeee.pptx
ayushjadon04
 

Concepts in mule

  • 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.