SlideShare a Scribd company logo
Mule – HTTP Connector
K Karthik
HTTP Listener :
 HTTP Listener connector provides a way to listen HTTP requests. Below
figure shows the HTTP listener.
Fig 1 - Http listener/Inbound Endpoint
HTTP
 Figure-2 shows the listener configuration, required fields are Connector
configuration and Path. Click “+” highlighted in red to create a global
connector for HTTP Listener. This connector will be available for all
HTTP Listeners within the application.
Fig 2 - Configuration for HTTP Listener
 Figure-3 shows the HTTP Listener configuration. Protocol, Host and
Port are required fields. If we do not supply any of these values,
defaults will be set. Below figure shows the defaults.
Fig 3 - HTTP Listener configuration
 Figure-4 shows the configuration for the Path element in the HTTP
Listener (Figure-2) highlighted in green. All flows which are configured to
use same HTTP Listener connector (Figure-3) will have the same URL. This
path will be appended at the end of the URL and helps in accessing a
specific application/flow.
Fig 4 - Basic Settings in HTTP Listener connector.
 Figure-5 shows the configuration XML for the flow created.
Fig 5 - Configuration XML.
 Code highlighted in orange shows the response builder for the service.
 statusCode- is the HTTP status code
 reasonPhrase- is the text if given, appears along with statusCode when the
response gets generated.
Fig 6 - HTTP Listener properties.
Figure-6 shows the HTTP Listener properties. This allows us to specify custom
message for HTTP Response and Error Response based on the status code.
The same reason will be shown in the HTTP Header.
HTTP Request:
• The HTTP Request Connector provides the most practical way to
consume an external HTTP service. When sending HTTP requests, you
can choose what method to use (GET, POST, etc) and may include a
body, headers, attachments, query parameters, form parameters and
URI parameters. The response is then received by the connector and is
passed on to the next element in the flow.
• Figure-6 shows the HTTP Request Configuration. Like HTTP Listener,
HTTP Request can also have a global connector defined. This global
connector is similar to the HTTP Listener connector created.
Figure-7: HTTP Request Transport
• Connector Configuration and Path are similar to the HTTP Listener.
Connector Configuration will have the details of the HTTP Service we
want to invoke. Path is same as mentioned for that application.
• Method lets us specify the HTTP method that the service accepts. This
attribute can take dynamic values also.
 Parameters let us supply the parameters that the service we are invoking
expects. These parameter can be header, query-params etc.. we can
choose from the list of options provided. We need to provide a Name
and a Value for each parameter we create. These Name and Value fields
also accept dynamic values.
 Figure-8 shows the configuration XML for the Greeter Service.
Figure-8 : Configuration XML
 Figure-9 shows the Response of the service created.
Figure-9: Response
 Text highlighted in red shows the custom message that we have set as
shown in Figure-5.
 Text highlighted in blue shows the response generated from our service
invocation.
THANK YOU 

More Related Content

What's hot

Mule message enricher
Mule message enricherMule message enricher
Mule message enricher
Anirban Sen Chowdhary
 
Mule esb add logger to existing flow
Mule esb add logger to existing flowMule esb add logger to existing flow
Mule esb add logger to existing flow
Germano Barba
 
Encrypting/Decrypting mule
Encrypting/Decrypting  muleEncrypting/Decrypting  mule
Encrypting/Decrypting mule
Anirban Sen Chowdhary
 
Mule Ajax Connector
Mule Ajax ConnectorMule Ajax Connector
Mule Ajax Connector
Ankush Sharma
 
Email server configuration on cisco packet tracer
Email server configuration on cisco packet tracerEmail server configuration on cisco packet tracer
Email server configuration on cisco packet tracer
prodhan999
 
Groovy example in mule
Groovy example in muleGroovy example in mule
Groovy example in mule
Mohammed246
 
Mule esb :Data Weave
Mule esb :Data WeaveMule esb :Data Weave
Mule esb :Data Weave
AnilKumar Etagowni
 
Idempotent filter in Mule
Idempotent filter in MuleIdempotent filter in Mule
Idempotent filter in Mule
F K
 
Mule - logger
Mule -  loggerMule -  logger
Mule - logger
Ankush Sharma
 
Maven tools & archetypes
Maven tools & archetypesMaven tools & archetypes
Maven tools & archetypes
Son Nguyen
 
Protocolos de E-mail (SMTP, POP e IMAP)
Protocolos de E-mail (SMTP, POP e IMAP)Protocolos de E-mail (SMTP, POP e IMAP)
Protocolos de E-mail (SMTP, POP e IMAP)
Paulo Bischof
 
Xslt in mule
Xslt in muleXslt in mule
Xslt in mule
irfan1008
 
Information on protocols-email protocols
Information on protocols-email protocolsInformation on protocols-email protocols
Information on protocols-email protocolsPriyanka Shinde
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
Ujjayanta Bhaumik
 
E mail transfer .74
E mail transfer .74E mail transfer .74
E mail transfer .74myrajendra
 
Mule ESB SMTP Connector Integration
Mule ESB SMTP Connector  IntegrationMule ESB SMTP Connector  Integration
Mule ESB SMTP Connector Integration
AnilKumar Etagowni
 
Quartz connector mule
Quartz connector   muleQuartz connector   mule
Quartz connector mule
Sindhu VL
 
transfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imaptransfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imap
AKSHIT KOHLI
 
Networking in Java
Networking in JavaNetworking in Java
Networking in Java
Gaurav Agarwal
 

What's hot (20)

Mule message enricher
Mule message enricherMule message enricher
Mule message enricher
 
Mule esb add logger to existing flow
Mule esb add logger to existing flowMule esb add logger to existing flow
Mule esb add logger to existing flow
 
Encrypting/Decrypting mule
Encrypting/Decrypting  muleEncrypting/Decrypting  mule
Encrypting/Decrypting mule
 
Mule Ajax Connector
Mule Ajax ConnectorMule Ajax Connector
Mule Ajax Connector
 
Email server configuration on cisco packet tracer
Email server configuration on cisco packet tracerEmail server configuration on cisco packet tracer
Email server configuration on cisco packet tracer
 
Groovy example in mule
Groovy example in muleGroovy example in mule
Groovy example in mule
 
Mule esb :Data Weave
Mule esb :Data WeaveMule esb :Data Weave
Mule esb :Data Weave
 
Smtp
SmtpSmtp
Smtp
 
Idempotent filter in Mule
Idempotent filter in MuleIdempotent filter in Mule
Idempotent filter in Mule
 
Mule - logger
Mule -  loggerMule -  logger
Mule - logger
 
Maven tools & archetypes
Maven tools & archetypesMaven tools & archetypes
Maven tools & archetypes
 
Protocolos de E-mail (SMTP, POP e IMAP)
Protocolos de E-mail (SMTP, POP e IMAP)Protocolos de E-mail (SMTP, POP e IMAP)
Protocolos de E-mail (SMTP, POP e IMAP)
 
Xslt in mule
Xslt in muleXslt in mule
Xslt in mule
 
Information on protocols-email protocols
Information on protocols-email protocolsInformation on protocols-email protocols
Information on protocols-email protocols
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
E mail transfer .74
E mail transfer .74E mail transfer .74
E mail transfer .74
 
Mule ESB SMTP Connector Integration
Mule ESB SMTP Connector  IntegrationMule ESB SMTP Connector  Integration
Mule ESB SMTP Connector Integration
 
Quartz connector mule
Quartz connector   muleQuartz connector   mule
Quartz connector mule
 
transfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imaptransfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imap
 
Networking in Java
Networking in JavaNetworking in Java
Networking in Java
 

Viewers also liked

Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with mule
Mohammed246
 
Mule anypoint exchange
Mule anypoint exchangeMule anypoint exchange
Mule anypoint exchange
Phaniu
 
Mapping and listing with mule
Mapping and listing with muleMapping and listing with mule
Mapping and listing with mule
Phaniu
 
Groovy with Mule
Groovy with MuleGroovy with Mule
Groovy with Mule
irfan1008
 
Mule soap
Mule soapMule soap
Mule soap
Phaniu
 
Mule soa
Mule soaMule soa
Mule soa
Phaniu
 
Soap in mule
Soap in muleSoap in mule
Soap in mule
D.Rajesh Kumar
 
Mule Requester Usage Demo
Mule Requester Usage DemoMule Requester Usage Demo
Mule Requester Usage Demo
Ramakrishna Narkedamilli
 
Mule esb batch
Mule esb  batchMule esb  batch
Mule esb batch
D.Rajesh Kumar
 
Mule soap
Mule soapMule soap
Mule soap
princeirfancivil
 
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
irfan1008
 
Mule with drools
Mule with droolsMule with drools
Mule with drools
Khan625
 
Filter expression in mule demo
Filter expression in mule demoFilter expression in mule demo
Filter expression in mule demo
Sudha Ch
 
Mule compatible technologies
Mule compatible technologiesMule compatible technologies
Mule compatible technologies
D.Rajesh Kumar
 
Mule b2 b
Mule  b2 bMule  b2 b
Mule b2 b
himajareddys
 
Mule
MuleMule
Mule
irfan1008
 
Mule esb
Mule esbMule esb
Mule esb
Khan625
 
Mule esb api layer
Mule esb api layerMule esb api layer
Mule esb api layer
irfan1008
 
Mule oracle connectors
Mule oracle connectorsMule oracle connectors
Mule oracle connectors
princeirfancivil
 
File component in mule demo
File component in mule demoFile component in mule demo
File component in mule demo
Sudha Ch
 

Viewers also liked (20)

Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with mule
 
Mule anypoint exchange
Mule anypoint exchangeMule anypoint exchange
Mule anypoint exchange
 
Mapping and listing with mule
Mapping and listing with muleMapping and listing with mule
Mapping and listing with mule
 
Groovy with Mule
Groovy with MuleGroovy with Mule
Groovy with Mule
 
Mule soap
Mule soapMule soap
Mule soap
 
Mule soa
Mule soaMule soa
Mule soa
 
Soap in mule
Soap in muleSoap in mule
Soap in mule
 
Mule Requester Usage Demo
Mule Requester Usage DemoMule Requester Usage Demo
Mule Requester Usage Demo
 
Mule esb batch
Mule esb  batchMule esb  batch
Mule esb batch
 
Mule soap
Mule soapMule soap
Mule soap
 
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
 
Mule with drools
Mule with droolsMule with drools
Mule with drools
 
Filter expression in mule demo
Filter expression in mule demoFilter expression in mule demo
Filter expression in mule demo
 
Mule compatible technologies
Mule compatible technologiesMule compatible technologies
Mule compatible technologies
 
Mule b2 b
Mule  b2 bMule  b2 b
Mule b2 b
 
Mule
MuleMule
Mule
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule esb api layer
Mule esb api layerMule esb api layer
Mule esb api layer
 
Mule oracle connectors
Mule oracle connectorsMule oracle connectors
Mule oracle connectors
 
File component in mule demo
File component in mule demoFile component in mule demo
File component in mule demo
 

Similar to Http mule

Http connector
Http connectorHttp connector
Http connector
krishashi
 
Mule - HTTP Listener
Mule - HTTP ListenerMule - HTTP Listener
Mule - HTTP Listener
Ankush Sharma
 
RAML - The architecture
RAML  - The architectureRAML  - The architecture
RAML - The architecture
Ankush Sharma
 
HTTP
HTTPHTTP
Mule ESB Components
Mule ESB Components Mule ESB Components
Mule ESB Components
pat_91
 
Api design and development
Api design and developmentApi design and development
Api design and development
oquidave
 
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.pptHTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
VietAnhNguyen337355
 
Chapter 1.Web Techniques_Notes.pptx
Chapter 1.Web Techniques_Notes.pptxChapter 1.Web Techniques_Notes.pptx
Chapter 1.Web Techniques_Notes.pptx
ShitalGhotekar
 
SCWCD : The web client model
SCWCD : The web client modelSCWCD : The web client model
SCWCD : The web client model
Ben Abdallah Helmi
 
Sun certifiedwebcomponentdeveloperstudyguide
Sun certifiedwebcomponentdeveloperstudyguideSun certifiedwebcomponentdeveloperstudyguide
Sun certifiedwebcomponentdeveloperstudyguide
Alberto Romero Jiménez
 
SCWCD : The web client model : CHAP : 1
SCWCD  : The web client model : CHAP : 1SCWCD  : The web client model : CHAP : 1
SCWCD : The web client model : CHAP : 1
Ben Abdallah Helmi
 
IRJET- An Overview of Web Sockets: The Future of Real-Time Communication
IRJET- An Overview of Web Sockets: The Future of Real-Time CommunicationIRJET- An Overview of Web Sockets: The Future of Real-Time Communication
IRJET- An Overview of Web Sockets: The Future of Real-Time Communication
IRJET Journal
 
Http request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NHttp request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NNavaneethan Naveen
 
Rest fullservices
Rest fullservicesRest fullservices
Rest fullservices
Germano Barba
 
Rest fullservices
Rest fullservicesRest fullservices
Rest fullservices
Davide Rapacciuolo
 
Rest fullservices
Rest fullservicesRest fullservices
Rest fullservices
Antonio Pellegrino
 
Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207
Lori Head
 
Mule connectors-session1
Mule connectors-session1Mule connectors-session1
Mule connectors-session1
Vishnukanth Rachineni
 
Mule connectors-part 1
Mule connectors-part 1Mule connectors-part 1
Mule connectors-part 1
VirtusaPolaris
 

Similar to Http mule (20)

Http connector
Http connectorHttp connector
Http connector
 
Mule - HTTP Listener
Mule - HTTP ListenerMule - HTTP Listener
Mule - HTTP Listener
 
RAML - The architecture
RAML  - The architectureRAML  - The architecture
RAML - The architecture
 
HTTP
HTTPHTTP
HTTP
 
Mule ESB Components
Mule ESB Components Mule ESB Components
Mule ESB Components
 
Api design and development
Api design and developmentApi design and development
Api design and development
 
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.pptHTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
 
Chapter 1.Web Techniques_Notes.pptx
Chapter 1.Web Techniques_Notes.pptxChapter 1.Web Techniques_Notes.pptx
Chapter 1.Web Techniques_Notes.pptx
 
SCWCD : The web client model
SCWCD : The web client modelSCWCD : The web client model
SCWCD : The web client model
 
Starting With Php
Starting With PhpStarting With Php
Starting With Php
 
Sun certifiedwebcomponentdeveloperstudyguide
Sun certifiedwebcomponentdeveloperstudyguideSun certifiedwebcomponentdeveloperstudyguide
Sun certifiedwebcomponentdeveloperstudyguide
 
SCWCD : The web client model : CHAP : 1
SCWCD  : The web client model : CHAP : 1SCWCD  : The web client model : CHAP : 1
SCWCD : The web client model : CHAP : 1
 
IRJET- An Overview of Web Sockets: The Future of Real-Time Communication
IRJET- An Overview of Web Sockets: The Future of Real-Time CommunicationIRJET- An Overview of Web Sockets: The Future of Real-Time Communication
IRJET- An Overview of Web Sockets: The Future of Real-Time Communication
 
Http request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NHttp request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.N
 
Rest fullservices
Rest fullservicesRest fullservices
Rest fullservices
 
Rest fullservices
Rest fullservicesRest fullservices
Rest fullservices
 
Rest fullservices
Rest fullservicesRest fullservices
Rest fullservices
 
Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207
 
Mule connectors-session1
Mule connectors-session1Mule connectors-session1
Mule connectors-session1
 
Mule connectors-part 1
Mule connectors-part 1Mule connectors-part 1
Mule connectors-part 1
 

More from Karnam Karthik

Https service mule
Https service muleHttps service mule
Https service mule
Karnam Karthik
 
Routing and filters
Routing and filtersRouting and filters
Routing and filters
Karnam Karthik
 
Mule system properties
Mule system propertiesMule system properties
Mule system properties
Karnam Karthik
 
Mule splitters
Mule splittersMule splitters
Mule splitters
Karnam Karthik
 
Mule properties
Mule propertiesMule properties
Mule properties
Karnam Karthik
 
Mule enricher
Mule enricher Mule enricher
Mule enricher
Karnam Karthik
 
Mule batch
Mule batchMule batch
Mule batch
Karnam Karthik
 
Jms queues
Jms queuesJms queues
Jms queues
Karnam Karthik
 
Jms topics
Jms   topicsJms   topics
Jms topics
Karnam Karthik
 
Mule java part-4
Mule java part-4Mule java part-4
Mule java part-4
Karnam Karthik
 
Mule java part-3
Mule java part-3Mule java part-3
Mule java part-3
Karnam Karthik
 
Mule java part-2
Mule java part-2Mule java part-2
Mule java part-2
Karnam Karthik
 
Mule java part-1
Mule java part-1Mule java part-1
Mule java part-1
Karnam Karthik
 
Mule java part-3
Mule java part-3Mule java part-3
Mule java part-3
Karnam Karthik
 
Mule java part-1
Mule java part-1Mule java part-1
Mule java part-1
Karnam Karthik
 
Mule expression component
Mule expression componentMule expression component
Mule expression component
Karnam Karthik
 

More from Karnam Karthik (16)

Https service mule
Https service muleHttps service mule
Https service mule
 
Routing and filters
Routing and filtersRouting and filters
Routing and filters
 
Mule system properties
Mule system propertiesMule system properties
Mule system properties
 
Mule splitters
Mule splittersMule splitters
Mule splitters
 
Mule properties
Mule propertiesMule properties
Mule properties
 
Mule enricher
Mule enricher Mule enricher
Mule enricher
 
Mule batch
Mule batchMule batch
Mule batch
 
Jms queues
Jms queuesJms queues
Jms queues
 
Jms topics
Jms   topicsJms   topics
Jms topics
 
Mule java part-4
Mule java part-4Mule java part-4
Mule java part-4
 
Mule java part-3
Mule java part-3Mule java part-3
Mule java part-3
 
Mule java part-2
Mule java part-2Mule java part-2
Mule java part-2
 
Mule java part-1
Mule java part-1Mule java part-1
Mule java part-1
 
Mule java part-3
Mule java part-3Mule java part-3
Mule java part-3
 
Mule java part-1
Mule java part-1Mule java part-1
Mule java part-1
 
Mule expression component
Mule expression componentMule expression component
Mule expression component
 

Recently uploaded

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 

Recently uploaded (20)

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 

Http mule

  • 1. Mule – HTTP Connector K Karthik
  • 2. HTTP Listener :  HTTP Listener connector provides a way to listen HTTP requests. Below figure shows the HTTP listener. Fig 1 - Http listener/Inbound Endpoint HTTP
  • 3.  Figure-2 shows the listener configuration, required fields are Connector configuration and Path. Click “+” highlighted in red to create a global connector for HTTP Listener. This connector will be available for all HTTP Listeners within the application. Fig 2 - Configuration for HTTP Listener
  • 4.  Figure-3 shows the HTTP Listener configuration. Protocol, Host and Port are required fields. If we do not supply any of these values, defaults will be set. Below figure shows the defaults. Fig 3 - HTTP Listener configuration
  • 5.  Figure-4 shows the configuration for the Path element in the HTTP Listener (Figure-2) highlighted in green. All flows which are configured to use same HTTP Listener connector (Figure-3) will have the same URL. This path will be appended at the end of the URL and helps in accessing a specific application/flow. Fig 4 - Basic Settings in HTTP Listener connector.  Figure-5 shows the configuration XML for the flow created. Fig 5 - Configuration XML.
  • 6.  Code highlighted in orange shows the response builder for the service.  statusCode- is the HTTP status code  reasonPhrase- is the text if given, appears along with statusCode when the response gets generated. Fig 6 - HTTP Listener properties.
  • 7. Figure-6 shows the HTTP Listener properties. This allows us to specify custom message for HTTP Response and Error Response based on the status code. The same reason will be shown in the HTTP Header. HTTP Request: • The HTTP Request Connector provides the most practical way to consume an external HTTP service. When sending HTTP requests, you can choose what method to use (GET, POST, etc) and may include a body, headers, attachments, query parameters, form parameters and URI parameters. The response is then received by the connector and is passed on to the next element in the flow. • Figure-6 shows the HTTP Request Configuration. Like HTTP Listener, HTTP Request can also have a global connector defined. This global connector is similar to the HTTP Listener connector created.
  • 8. Figure-7: HTTP Request Transport • Connector Configuration and Path are similar to the HTTP Listener. Connector Configuration will have the details of the HTTP Service we want to invoke. Path is same as mentioned for that application. • Method lets us specify the HTTP method that the service accepts. This attribute can take dynamic values also.
  • 9.  Parameters let us supply the parameters that the service we are invoking expects. These parameter can be header, query-params etc.. we can choose from the list of options provided. We need to provide a Name and a Value for each parameter we create. These Name and Value fields also accept dynamic values.  Figure-8 shows the configuration XML for the Greeter Service. Figure-8 : Configuration XML
  • 10.  Figure-9 shows the Response of the service created. Figure-9: Response  Text highlighted in red shows the custom message that we have set as shown in Figure-5.  Text highlighted in blue shows the response generated from our service invocation.