SlideShare a Scribd company logo
1 of 10
Mule Connectors
• Anypoint™ Connectors receive or send messages
between Mule and one or more external sources,
such as files, databases, or Web services.
• Connectors can act as message sources by
working as inbound endpoints, they can act as a
message processor that performs an operation in
middle of a flow, or they can fall at the end of a
flow and act as the recipient of the final payload
data.
• Connectors in Mule are either endpoint-based or
operation-based. Endpoint-based connectors
follow either a one-way or request-response
exchange pattern and are often named and based
around a standard data communication protocol,
such as FTP, JMS, and SMTP.
• Operation-based connectors follow an
information exchange pattern based on the
operation that you select and are often (but not
always) named and based around one or more
specific third-party APIs.
Endpoint-Based Connectors
• Endpoint based connectors are configured as
either inbound or outbound endpoints in a
flow. Inbound endpoints serve as a message
source for a flow. Outbound endpoints can
occur mid-flow or at the end of flows, and
send information to external systems.
Operation-Based Connectors
• When you add an operation-based connector to
your flow, you immediately define a specific
operation for that connector to perform.
• The XML element of the connector differs
according to the operation that you select, taking
the form <connectorName>:<operation>. For
example, sfdc:query or sfdc:upsert-bulk. The
remaining configuration attributes or child
elements are determined by the operation that
you select
Global Connector Configuration
• Some connectors require that connection
information such as username, password, and
security tokens be configured in a global element
rather than at the level of the message processor
within the flow. Many connectors of the same
type in one application can reference the
connector configuration at the global level. For
operation-based connectors, the global
connector configuration is mandatory, but for
most endpoint-based connectors it is optional.
Examples
HTTP Connector
• This example shows how an HTTP connector,
which can be configured both as a listener (for
receiving inbound requests) or as a request
connector (for making outbound requests).
The HTTP connector always requires a global
connector configuration that specifies its
connection attributes.
• <http:listener-config
name="HTTP_Listener_Configuration"
host="localhost" port="8081" doc:name="HTTP
Listener Configuration"/>
• <http:request-config
name="HTTP_Request_Configuration"
host="localhost" port="8082" doc:name="HTTP
Request Configuration"/>
JMS Connector
• This example shows a JMS connector, which is
endpoint-based, configured as an inbound
endpoint in a flow. The JMS endpoint includes
a mandatory reference to a global connector
configuration which contains the connection
parameters.
Example
• <jms:activemq-connector name="Active_MQ"
username="test" password="test"
brokerURL="tcp://localhost:61616"
validateConnections="true" doc:name="Active MQ"/>
•
• <flow name="myNewProjectFlow1"
doc:name="myNewProjectFlow1">
• <jms:inbound-endpoint queue="test" connector-
ref="Active_MQ" doc:name="JMS Endpoint"/>
• ...
• </flow>

More Related Content

What's hot

What's hot (14)

Mule rabbitmq
Mule rabbitmqMule rabbitmq
Mule rabbitmq
 
Routing in mule
Routing in muleRouting in mule
Routing in mule
 
Client Server Architecture ppt
Client Server Architecture pptClient Server Architecture ppt
Client Server Architecture ppt
 
Mule transformers
Mule transformersMule transformers
Mule transformers
 
Niranjan mule esb
Niranjan mule esbNiranjan mule esb
Niranjan mule esb
 
Choice router mule
Choice router   muleChoice router   mule
Choice router mule
 
Elements in a muleflow
Elements in a muleflowElements in a muleflow
Elements in a muleflow
 
Mule slides
Mule slides Mule slides
Mule slides
 
Ashok mule esb
Ashok mule esbAshok mule esb
Ashok mule esb
 
Mule esb kranthi
Mule esb kranthiMule esb kranthi
Mule esb kranthi
 
Sai mule esb batch
Sai mule esb batchSai mule esb batch
Sai mule esb batch
 
Mule message structure and varibles scopes
Mule message structure and varibles scopesMule message structure and varibles scopes
Mule message structure and varibles scopes
 
Application layer assignments
Application layer assignmentsApplication layer assignments
Application layer assignments
 
Client Server Architecture in Software engineering
Client Server Architecture in Software engineeringClient Server Architecture in Software engineering
Client Server Architecture in Software engineering
 

Viewers also liked

Hdfs connector
Hdfs connectorHdfs connector
Hdfs connectorkiranvanga
 
Connectors in mule
Connectors in muleConnectors in mule
Connectors in muleSindhu VL
 
Mule concepts connectors
Mule concepts connectorsMule concepts connectors
Mule concepts connectorskunal vishe
 
Mulehdfsconnector 160810122655
Mulehdfsconnector 160810122655Mulehdfsconnector 160810122655
Mulehdfsconnector 160810122655ppts123456
 
Mule MongoDB connector
Mule MongoDB connectorMule MongoDB connector
Mule MongoDB connectorAnkush Sharma
 
Mule esb-connectors
Mule esb-connectorsMule esb-connectors
Mule esb-connectorshimajareddys
 
Database integrate with mule
Database integrate with muleDatabase integrate with mule
Database integrate with muleSon Nguyen
 
Using groovy in mule
Using groovy in muleUsing groovy in mule
Using groovy in muleSon Nguyen
 

Viewers also liked (12)

Hdfs connector
Hdfs connectorHdfs connector
Hdfs connector
 
Mule hdfs connector
Mule hdfs connectorMule hdfs connector
Mule hdfs connector
 
Mule connectors
Mule  connectorsMule  connectors
Mule connectors
 
Connectors in mule
Connectors in muleConnectors in mule
Connectors in mule
 
Mule HDFS Connector
Mule HDFS ConnectorMule HDFS Connector
Mule HDFS Connector
 
Mule concepts connectors
Mule concepts connectorsMule concepts connectors
Mule concepts connectors
 
Mulehdfsconnector 160810122655
Mulehdfsconnector 160810122655Mulehdfsconnector 160810122655
Mulehdfsconnector 160810122655
 
Mule MongoDB connector
Mule MongoDB connectorMule MongoDB connector
Mule MongoDB connector
 
Mule LDAP Connector
Mule LDAP ConnectorMule LDAP Connector
Mule LDAP Connector
 
Mule esb-connectors
Mule esb-connectorsMule esb-connectors
Mule esb-connectors
 
Database integrate with mule
Database integrate with muleDatabase integrate with mule
Database integrate with mule
 
Using groovy in mule
Using groovy in muleUsing groovy in mule
Using groovy in mule
 

Similar to Mule connectors

1480-techintrotoiib-150224130001-conversion-gate01.pptx
1480-techintrotoiib-150224130001-conversion-gate01.pptx1480-techintrotoiib-150224130001-conversion-gate01.pptx
1480-techintrotoiib-150224130001-conversion-gate01.pptxBalakoteswaraReddyM
 
Mule ESB Interview or Certification questions
Mule ESB Interview or Certification questionsMule ESB Interview or Certification questions
Mule ESB Interview or Certification questionsTechieVarsity
 
Muleesbcomponents1 160625154208
Muleesbcomponents1 160625154208Muleesbcomponents1 160625154208
Muleesbcomponents1 160625154208ppts123456
 
Elements in a mule flow
Elements in a mule flowElements in a mule flow
Elements in a mule flowSindhu VL
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_componentsPaaras Baru
 
Top 50 MuleSoft interview questions
Top 50 MuleSoft interview questionsTop 50 MuleSoft interview questions
Top 50 MuleSoft interview questionstechievarsity
 
21 Scheme_21EC53_MODULE-5_CCN_Dr. ShivaS
21 Scheme_21EC53_MODULE-5_CCN_Dr. ShivaS21 Scheme_21EC53_MODULE-5_CCN_Dr. ShivaS
21 Scheme_21EC53_MODULE-5_CCN_Dr. ShivaSDr. Shivashankar
 
jkljklj
jkljkljjkljklj
jkljkljhoefo
 
WSO2Con USA 2015: WSO2 Integration Platform Deep Dive
WSO2Con USA 2015: WSO2 Integration Platform Deep DiveWSO2Con USA 2015: WSO2 Integration Platform Deep Dive
WSO2Con USA 2015: WSO2 Integration Platform Deep DiveWSO2
 
(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers
(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers
(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for DevelopersBIOVIA
 

Similar to Mule connectors (20)

1480-techintrotoiib-150224130001-conversion-gate01.pptx
1480-techintrotoiib-150224130001-conversion-gate01.pptx1480-techintrotoiib-150224130001-conversion-gate01.pptx
1480-techintrotoiib-150224130001-conversion-gate01.pptx
 
Mule ESB Interview or Certification questions
Mule ESB Interview or Certification questionsMule ESB Interview or Certification questions
Mule ESB Interview or Certification questions
 
Muleesbcomponents1 160625154208
Muleesbcomponents1 160625154208Muleesbcomponents1 160625154208
Muleesbcomponents1 160625154208
 
Mule esb naveen
Mule esb naveenMule esb naveen
Mule esb naveen
 
Mule esb kranthi
Mule esb kranthiMule esb kranthi
Mule esb kranthi
 
Mule esb
Mule esb Mule esb
Mule esb
 
Mule
MuleMule
Mule
 
Esb process
Esb processEsb process
Esb process
 
Mule
MuleMule
Mule
 
Ch-1_.ppt
Ch-1_.pptCh-1_.ppt
Ch-1_.ppt
 
Elements in a mule flow
Elements in a mule flowElements in a mule flow
Elements in a mule flow
 
Mule overview
Mule overviewMule overview
Mule overview
 
Mule esb and_relevant_components
Mule esb and_relevant_componentsMule esb and_relevant_components
Mule esb and_relevant_components
 
Top 50 MuleSoft interview questions
Top 50 MuleSoft interview questionsTop 50 MuleSoft interview questions
Top 50 MuleSoft interview questions
 
21 Scheme_21EC53_MODULE-5_CCN_Dr. ShivaS
21 Scheme_21EC53_MODULE-5_CCN_Dr. ShivaS21 Scheme_21EC53_MODULE-5_CCN_Dr. ShivaS
21 Scheme_21EC53_MODULE-5_CCN_Dr. ShivaS
 
Mule connectors-session1
Mule connectors-session1Mule connectors-session1
Mule connectors-session1
 
jkljklj
jkljkljjkljklj
jkljklj
 
WSO2Con USA 2015: WSO2 Integration Platform Deep Dive
WSO2Con USA 2015: WSO2 Integration Platform Deep DiveWSO2Con USA 2015: WSO2 Integration Platform Deep Dive
WSO2Con USA 2015: WSO2 Integration Platform Deep Dive
 
(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers
(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers
(ATS3-DEV04) Introduction to Pipeline Pilot Protocol Development for Developers
 
Pace IT - Common Ports and Protocols
Pace IT - Common Ports and ProtocolsPace IT - Common Ports and Protocols
Pace IT - Common Ports and Protocols
 

More from Krishna_in

Validations module
Validations moduleValidations module
Validations moduleKrishna_in
 
Mule maven Plugin
Mule maven PluginMule maven Plugin
Mule maven PluginKrishna_in
 
Splitter flow control reference
Splitter flow control referenceSplitter flow control reference
Splitter flow control referenceKrishna_in
 
Scatter gather flow control
Scatter gather flow controlScatter gather flow control
Scatter gather flow controlKrishna_in
 
Choice flow control reference
Choice flow control referenceChoice flow control reference
Choice flow control referenceKrishna_in
 
Soa(service oriented architecture)
Soa(service oriented architecture)Soa(service oriented architecture)
Soa(service oriented architecture)Krishna_in
 
Soa project fundamentals
Soa project fundamentalsSoa project fundamentals
Soa project fundamentalsKrishna_in
 
Soa methodology
Soa methodologySoa methodology
Soa methodologyKrishna_in
 
Soa governance
Soa governanceSoa governance
Soa governanceKrishna_in
 
Principles of soa
Principles of soaPrinciples of soa
Principles of soaKrishna_in
 
Mule transformers
Mule transformersMule transformers
Mule transformersKrishna_in
 
Mule exception strategies
Mule exception strategiesMule exception strategies
Mule exception strategiesKrishna_in
 
Mule components
Mule componentsMule components
Mule componentsKrishna_in
 
Mule agent architecture
Mule agent architectureMule agent architecture
Mule agent architectureKrishna_in
 
Global elements
Global elementsGlobal elements
Global elementsKrishna_in
 

More from Krishna_in (20)

Validations module
Validations moduleValidations module
Validations module
 
Mule maven Plugin
Mule maven PluginMule maven Plugin
Mule maven Plugin
 
API Policies
API PoliciesAPI Policies
API Policies
 
Data Weave
Data WeaveData Weave
Data Weave
 
Splitter flow control reference
Splitter flow control referenceSplitter flow control reference
Splitter flow control reference
 
Scatter gather flow control
Scatter gather flow controlScatter gather flow control
Scatter gather flow control
 
Datasense
DatasenseDatasense
Datasense
 
Choice flow control reference
Choice flow control referenceChoice flow control reference
Choice flow control reference
 
Soa(service oriented architecture)
Soa(service oriented architecture)Soa(service oriented architecture)
Soa(service oriented architecture)
 
Soa project fundamentals
Soa project fundamentalsSoa project fundamentals
Soa project fundamentals
 
Soa planning
Soa planningSoa planning
Soa planning
 
Soa methodology
Soa methodologySoa methodology
Soa methodology
 
Soa governance
Soa governanceSoa governance
Soa governance
 
Principles of soa
Principles of soaPrinciples of soa
Principles of soa
 
Mule transformers
Mule transformersMule transformers
Mule transformers
 
Mule exception strategies
Mule exception strategiesMule exception strategies
Mule exception strategies
 
Mule components
Mule componentsMule components
Mule components
 
Mule agent architecture
Mule agent architectureMule agent architecture
Mule agent architecture
 
Message state
Message stateMessage state
Message state
 
Global elements
Global elementsGlobal elements
Global elements
 

Mule connectors

  • 2. • Anypoint™ Connectors receive or send messages between Mule and one or more external sources, such as files, databases, or Web services. • Connectors can act as message sources by working as inbound endpoints, they can act as a message processor that performs an operation in middle of a flow, or they can fall at the end of a flow and act as the recipient of the final payload data.
  • 3. • Connectors in Mule are either endpoint-based or operation-based. Endpoint-based connectors follow either a one-way or request-response exchange pattern and are often named and based around a standard data communication protocol, such as FTP, JMS, and SMTP. • Operation-based connectors follow an information exchange pattern based on the operation that you select and are often (but not always) named and based around one or more specific third-party APIs.
  • 4. Endpoint-Based Connectors • Endpoint based connectors are configured as either inbound or outbound endpoints in a flow. Inbound endpoints serve as a message source for a flow. Outbound endpoints can occur mid-flow or at the end of flows, and send information to external systems.
  • 5. Operation-Based Connectors • When you add an operation-based connector to your flow, you immediately define a specific operation for that connector to perform. • The XML element of the connector differs according to the operation that you select, taking the form <connectorName>:<operation>. For example, sfdc:query or sfdc:upsert-bulk. The remaining configuration attributes or child elements are determined by the operation that you select
  • 6. Global Connector Configuration • Some connectors require that connection information such as username, password, and security tokens be configured in a global element rather than at the level of the message processor within the flow. Many connectors of the same type in one application can reference the connector configuration at the global level. For operation-based connectors, the global connector configuration is mandatory, but for most endpoint-based connectors it is optional.
  • 7. Examples HTTP Connector • This example shows how an HTTP connector, which can be configured both as a listener (for receiving inbound requests) or as a request connector (for making outbound requests). The HTTP connector always requires a global connector configuration that specifies its connection attributes.
  • 8. • <http:listener-config name="HTTP_Listener_Configuration" host="localhost" port="8081" doc:name="HTTP Listener Configuration"/> • <http:request-config name="HTTP_Request_Configuration" host="localhost" port="8082" doc:name="HTTP Request Configuration"/>
  • 9. JMS Connector • This example shows a JMS connector, which is endpoint-based, configured as an inbound endpoint in a flow. The JMS endpoint includes a mandatory reference to a global connector configuration which contains the connection parameters.
  • 10. Example • <jms:activemq-connector name="Active_MQ" username="test" password="test" brokerURL="tcp://localhost:61616" validateConnections="true" doc:name="Active MQ"/> • • <flow name="myNewProjectFlow1" doc:name="myNewProjectFlow1"> • <jms:inbound-endpoint queue="test" connector- ref="Active_MQ" doc:name="JMS Endpoint"/> • ... • </flow>