SlideShare a Scribd company logo
Presented by
SindhuVL
 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.
 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.
 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.
 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.
 FileConnector
 JDBC Connector
 HTTP Connector
 STDIO Connector
 JMS Connector
 Proceed to next slide to see the
configuration of all the above connectors.
The configuration for file connector is as
follows:
<file:connector name="FileConnector" streaming="false"
pollingFrequency="1000">
<file:expression-filename-parser/>
</file: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>
The configuration for HTTP connector is as follows :
<http:connector name="HttpConnector"
proxyHostname="${proxyHostname}"
proxyPort=="${proxyPort}"
proxyUsername="${proxyUsername}"
proxyPassword="${proxyPassword}"/>
The configuration for STDIO connector is as
follows :
<stdio:connector
name="SystemStreamConnector"
promptMessage="Please enter something:"
messageDelayTime="1000" />
The configuration for JMS connector is as
follows :
<jms:activemq-connector
name="jmsQueueConnector" specification="1.0.2b"
brokerURL="tcp://localhost:61616" />
 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.
 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 andAbstractMessageAwareTransformer.
AbstractTransformer is a normalTransformer, 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 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...
 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 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.
ThankYou

More Related Content

PPTX
Core concepts - mule
PPTX
Mule core concepts
PPT
Introduction to mule esb's
 
PPTX
Creating dynamic json in Mule
 
PPTX
Concepts in mule
PPTX
Mule soap
PPTX
Rabbit Mq in Mule
PPT
Mule overview-ppt
Core concepts - mule
Mule core concepts
Introduction to mule esb's
 
Creating dynamic json in Mule
 
Concepts in mule
Mule soap
Rabbit Mq in Mule
Mule overview-ppt

What's hot (20)

PPT
Overview of Mule
PPTX
Mulesoft Consuming Web Service - Web Service Consumer
PPTX
Core concepts in mule
PPTX
WSDL in Mule Esb
PPTX
Mule esb2
PPT
WebServices SOAP WSDL and UDDI
PPTX
Mule soap client demo
PPTX
Mulesoft Soap Service
PPTX
Junit in mule demo
PPTX
Mule Webservices
PPTX
Mule new jdbc component
PPTX
Shipping your logs to elk from mule app/cloudhub part 1
PPTX
Mule esb
PPTX
Mule Ajax Connector
PPTX
MuleSoft Consuming Soap Web Service - CXF jax-ws-client Module
PPTX
Mule soa
PPTX
Webservice vm in mule
PPTX
Soap request in mule
PPTX
PPT
ESB introduction using Mule
Overview of Mule
Mulesoft Consuming Web Service - Web Service Consumer
Core concepts in mule
WSDL in Mule Esb
Mule esb2
WebServices SOAP WSDL and UDDI
Mule soap client demo
Mulesoft Soap Service
Junit in mule demo
Mule Webservices
Mule new jdbc component
Shipping your logs to elk from mule app/cloudhub part 1
Mule esb
Mule Ajax Connector
MuleSoft Consuming Soap Web Service - CXF jax-ws-client Module
Mule soa
Webservice vm in mule
Soap request in mule
ESB introduction using Mule
Ad

Viewers also liked (20)

PPTX
Mule errors
PPTX
Mule fundamentals
PPTX
Error handling with respect to mule
PPTX
Munit
PPTX
Mule esb
PPTX
Flows and subflows in mule
PPTX
Encrption in mule
PPTX
Bindings of components in mule
PPTX
Enterprise service bus mule
PPTX
Xslt attributes
PPTX
Quartz connector mule
PPTX
Testing mule
PPTX
Debugging mule
PPTX
Xslt elements
PPTX
Using maven with mule
PPTX
Groovy component
PPTX
Mule debugging
PPTX
Mule concepts
PPTX
Content based routing tutorial in mule
PPTX
Xslt mule
Mule errors
Mule fundamentals
Error handling with respect to mule
Munit
Mule esb
Flows and subflows in mule
Encrption in mule
Bindings of components in mule
Enterprise service bus mule
Xslt attributes
Quartz connector mule
Testing mule
Debugging mule
Xslt elements
Using maven with mule
Groovy component
Mule debugging
Mule concepts
Content based routing tutorial in mule
Xslt mule
Ad

Similar to Mule core concepts (20)

PPTX
Mule core concepts
PDF
Mule ESB
PPTX
Working of mule
PPT
Overview of Mule
PPT
PDF
Mulesoft ppt
PPT
Mule overview
PPT
Mule esb presentation 2015
PPTX
How muleworks
PPTX
How muleworks
PPT
Service Oriented Development With Windows Communication Foundation 2003
DOCX
Web services SOAP Notes
PPTX
PPT
Mule web services
PPTX
Understanding Web Services by software outsourcing company india
PDF
Mule ESB Interview or Certification questions
PDF
Top 50 MuleSoft interview questions
PPTX
Mule esb
PPTX
Mule esb
PDF
Web Service Extensions | Torry Harris Whitepaper
Mule core concepts
Mule ESB
Working of mule
Overview of Mule
Mulesoft ppt
Mule overview
Mule esb presentation 2015
How muleworks
How muleworks
Service Oriented Development With Windows Communication Foundation 2003
Web services SOAP Notes
Mule web services
Understanding Web Services by software outsourcing company india
Mule ESB Interview or Certification questions
Top 50 MuleSoft interview questions
Mule esb
Mule esb
Web Service Extensions | Torry Harris Whitepaper

More from Sindhu VL (15)

PPTX
Mule - error handling
PPTX
Mule - beginners guide
PPTX
Basics of mule for beginners
PPTX
Mule testing
PPTX
Mule securing
PPTX
Service orchestration by using flows
PPTX
Configuration patterns in mule
PPTX
Using mule configuration patterns
PPTX
Using flows for service orchestration
PPTX
Component bindings in mule
PPTX
Mule requestor component
PPTX
Mule esb for beginners
PPTX
Design flows in mule
PPTX
Flows in mule
PPTX
Connectors in mule
Mule - error handling
Mule - beginners guide
Basics of mule for beginners
Mule testing
Mule securing
Service orchestration by using flows
Configuration patterns in mule
Using mule configuration patterns
Using flows for service orchestration
Component bindings in mule
Mule requestor component
Mule esb for beginners
Design flows in mule
Flows in mule
Connectors in mule

Recently uploaded (20)

PPT
UNIT I- Yarn, types, explanation, process
PPTX
Fundamental Principles of Visual Graphic Design.pptx
PPTX
AD Bungalow Case studies Sem 2.pptxvwewev
PDF
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
PPTX
areprosthodontics and orthodonticsa text.pptx
PPTX
Wisp Textiles: Where Comfort Meets Everyday Style
PDF
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
PPTX
12. Community Pharmacy and How to organize it
PDF
YOW2022-BNE-MinimalViableArchitecture.pdf
PDF
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
PPT
pump pump is a mechanism that is used to transfer a liquid from one place to ...
PPT
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
PDF
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
PPTX
mahatma gandhi bus terminal in india Case Study.pptx
PDF
Phone away, tabs closed: No multitasking
PPTX
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
PPTX
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
PPTX
6- Architecture design complete (1).pptx
PPTX
YV PROFILE PROJECTS PROFILE PRES. DESIGN
PPTX
rapid fire quiz in your house is your india.pptx
UNIT I- Yarn, types, explanation, process
Fundamental Principles of Visual Graphic Design.pptx
AD Bungalow Case studies Sem 2.pptxvwewev
Emailing DDDX-MBCaEiB.pdf DDD_Europe_2022_Intro_to_Context_Mapping_pdf-165590...
areprosthodontics and orthodonticsa text.pptx
Wisp Textiles: Where Comfort Meets Everyday Style
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
12. Community Pharmacy and How to organize it
YOW2022-BNE-MinimalViableArchitecture.pdf
Design Thinking - Module 1 - Introduction To Design Thinking - Dr. Rohan Dasg...
pump pump is a mechanism that is used to transfer a liquid from one place to ...
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
mahatma gandhi bus terminal in india Case Study.pptx
Phone away, tabs closed: No multitasking
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
6- Architecture design complete (1).pptx
YV PROFILE PROJECTS PROFILE PRES. DESIGN
rapid fire quiz in your house is your india.pptx

Mule core concepts

  • 2.  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.  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.  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.  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.  FileConnector  JDBC Connector  HTTP Connector  STDIO Connector  JMS Connector  Proceed to next slide to see the configuration of all the above connectors.
  • 7. The configuration for file connector is as follows: <file:connector name="FileConnector" streaming="false" pollingFrequency="1000"> <file:expression-filename-parser/> </file:connector>
  • 8. 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. The configuration for HTTP connector is as follows : <http:connector name="HttpConnector" proxyHostname="${proxyHostname}" proxyPort=="${proxyPort}" proxyUsername="${proxyUsername}" proxyPassword="${proxyPassword}"/>
  • 10. The configuration for STDIO connector is as follows : <stdio:connector name="SystemStreamConnector" promptMessage="Please enter something:" messageDelayTime="1000" />
  • 11. The configuration for JMS connector is as follows : <jms:activemq-connector name="jmsQueueConnector" specification="1.0.2b" brokerURL="tcp://localhost:61616" />
  • 12.  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.  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 andAbstractMessageAwareTransformer. AbstractTransformer is a normalTransformer, 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 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.  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 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.