SlideShare a Scribd company logo
MULE AJAX
CONNECTOR
By – Ankush Sharma
What is AJAX?
◦ Ajax stands for Asynchronous JavaScript and XML, which is used to send asynchronous web calls
to any URL. Ajax is basically meant for UI tasks such as:
◦ Update a web page without reloading the page
◦ Request data from a server - after the page has loaded
◦ Receive data from a server - after the page has loaded
◦ Send data to a server - in the background
But in Mule we can send an Ajax asynchronous call to any webservice we want.
So what is Mule Ajax connector?
The Ajax Connector, creates a transport channel to send messages asynchronously to and from an
Ajax server, which communicates with external Web resources.
The Ajax endpoint connects Mule flow to an external web page. A JavaScript client attached to the
webpage listens for user input, which it sends through the Ajax endpoint to your flow for
processing.
We can use Ajax connector in two ways:
◦ In first, if we drag and drop ajax connector at the start of the flow it acts as the inbound
connector for that flow.
◦ If we put it in middle or at end of flow then it acts as an outbound connector.
Ajax configuration - General Tab
◦ General tab contains following properties –
◦ Display name – User can give a name of the connector for display purposes.
◦ Channel – This is the channel over which Ajax communicates with the web page.
◦ Connector configuration – A drop down allows to select a previously created AJAX connector
configuration or one can create a new configuration by clicking on green + button in bottom right
corner.
Ajax configuration - Advanced Tab(Cont.)
◦ Advanced tab contains following properties –
◦ Address – This property contains the value of address for this AJAX connector endpoint.
◦ Response Timeout – This property tells AJAX connector endpoint to wait for how much time before
timing out a request.
◦ Encoding – This property tells what encoding standard have been applied on message data.
◦ MIME Type – Mime type is the data type that endpoint supports e.g. application/json.
Ajax configuration - Advanced Tab
◦ Advanced tab contains following properties –
◦ Connector endpoint – A drop down allows to select a previously created AJAX connector configuration or
one can create a new configuration by clicking on green + button in bottom right corner.
◦ Checkboxes available in Advanced tab –
◦ Disable Transport Transformer – Must be checked if there is no need to use the endpoint’s default
response transport.
◦ Enable default events tracking – Check this box to enable business event tracking for this endpoint.
Ajax configuration – Reconnection Tab(Cont.)
◦ The Reconnection tab contains following properties –
◦ Do not use a Reconnection Strategy – This is the default radio button which specifies do not try to
reconnect if there is error connecting to the web address URL.
Ajax configuration – Reconnection Tab
◦ The Reconnection tab contains following properties –
◦ Standard Reconnection – Use this radio button to enable a standard reconnection strategy.
◦ Frequency (ms) – The frequency time in milliseconds after which the AJAX connector will try to access the web
address URL.
◦ Reconnect Attempts – This tells how many times the AJAX connector will try to connect to web address URL.
◦ Reconnector Forever – Check this box if there is need to make AJAX connector connect to web address URL until
there is a successful connection with it.
◦ Custom Reconnection – Use this radio button to create a custom Reconnection strategy.
◦ Class – The java class which will come in action after a failed connection attempt.
◦ Run the connection in a separated thread – Check this box if there is need to use this custom reconnection
operation in separate thread.
Ajax configuration – Transformers Tab(Cont.)
◦ The Transformers tab contains following properties-
◦ Global Transformers - A synchronous transformers that will be applied to the request before it is sent to
the transport.
Ajax configuration – Notes and Metadata Tab
◦ Notes tab - This tab is used to add special notes for the Ajax connector.
◦ Metadata tab – This tab is used to add any metadata entry for Ajax connector.

More Related Content

What's hot

Xslt with mule
Xslt with muleXslt with mule
Xslt with mule
Son Nguyen
 
Java mule
Java muleJava mule
Java mule
Gandham38
 
Mule new jdbc component
Mule new jdbc componentMule new jdbc component
Mule new jdbc component
Anirban Sen Chowdhary
 
Mule Webservices
Mule WebservicesMule Webservices
Mule Webservices
Shahid Shaik
 
Concepts in mule
Concepts in muleConcepts in mule
Concepts in mule
Sindhu VL
 
Mule xml transformation
Mule xml transformationMule xml transformation
Mule xml transformation
D.Rajesh Kumar
 
Message properties component in Mule
Message properties component in MuleMessage properties component in Mule
Message properties component in Mule
Khan625
 
Mule ESB - Mock Salesforce Interface
Mule ESB - Mock Salesforce InterfaceMule ESB - Mock Salesforce Interface
Mule ESB - Mock Salesforce Interface
krishananth
 
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
 
Mule - HTTP Listener
Mule - HTTP ListenerMule - HTTP Listener
Mule - HTTP Listener
Ankush Sharma
 
Junit in mule demo
Junit in mule demo Junit in mule demo
Junit in mule demo
javeed_mhd
 
xslt in mule
xslt in mulexslt in mule
xslt in mule
Praneethchampion
 
Mulesoft http connector
Mulesoft http connectorMulesoft http connector
Mulesoft http connector
kumar gaurav
 
Mule esb usecase
Mule esb usecaseMule esb usecase
Mule esb usecase
charan teja R
 
Mule esb
Mule esbMule esb
Mule esb
charan teja R
 
Mule concepts connectors
Mule concepts connectorsMule concepts connectors
Mule concepts connectors
kunal vishe
 
Mule advanced
Mule advancedMule advanced
Mule advanced
D.Rajesh Kumar
 
Connecting to external_application
Connecting to external_applicationConnecting to external_application
Connecting to external_application
Rajarajan Sadhasivam
 

What's hot (18)

Xslt with mule
Xslt with muleXslt with mule
Xslt with mule
 
Java mule
Java muleJava mule
Java mule
 
Mule new jdbc component
Mule new jdbc componentMule new jdbc component
Mule new jdbc component
 
Mule Webservices
Mule WebservicesMule Webservices
Mule Webservices
 
Concepts in mule
Concepts in muleConcepts in mule
Concepts in mule
 
Mule xml transformation
Mule xml transformationMule xml transformation
Mule xml transformation
 
Message properties component in Mule
Message properties component in MuleMessage properties component in Mule
Message properties component in Mule
 
Mule ESB - Mock Salesforce Interface
Mule ESB - Mock Salesforce InterfaceMule ESB - Mock Salesforce Interface
Mule ESB - Mock Salesforce Interface
 
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 - HTTP Listener
Mule - HTTP ListenerMule - HTTP Listener
Mule - HTTP Listener
 
Junit in mule demo
Junit in mule demo Junit in mule demo
Junit in mule demo
 
xslt in mule
xslt in mulexslt in mule
xslt in mule
 
Mulesoft http connector
Mulesoft http connectorMulesoft http connector
Mulesoft http connector
 
Mule esb usecase
Mule esb usecaseMule esb usecase
Mule esb usecase
 
Mule esb
Mule esbMule esb
Mule esb
 
Mule concepts connectors
Mule concepts connectorsMule concepts connectors
Mule concepts connectors
 
Mule advanced
Mule advancedMule advanced
Mule advanced
 
Connecting to external_application
Connecting to external_applicationConnecting to external_application
Connecting to external_application
 

Similar to Mule Ajax Connector

Amazon SQS connector
Amazon SQS connectorAmazon SQS connector
Amazon SQS connector
Ankush Sharma
 
jQuery Ajax
jQuery AjaxjQuery Ajax
jQuery Ajax
Anand Kumar Rajana
 
Reverse ajax in 2014
Reverse ajax in 2014Reverse ajax in 2014
Reverse ajax in 2014
Nenad Pecanac
 
25250716 seminar-on-ajax text
25250716 seminar-on-ajax text25250716 seminar-on-ajax text
25250716 seminar-on-ajax text
Kamleshh Chandnani
 
Mule soft ppt 2
Mule soft ppt  2Mule soft ppt  2
Mule soft ppt 2
Vinoth Moorthy
 
Mule Microsoft Dynamics AX 2012 Connector
Mule Microsoft Dynamics AX 2012 ConnectorMule Microsoft Dynamics AX 2012 Connector
Mule Microsoft Dynamics AX 2012 Connector
Ankush Sharma
 
Ajax ppt
Ajax pptAjax ppt
Ajax
AjaxAjax
Ajax & Reverse Ajax Presenation
Ajax & Reverse Ajax PresenationAjax & Reverse Ajax Presenation
Ajax & Reverse Ajax Presenation
Rishabh Garg
 
Ajax
AjaxAjax
Tomcat Clustering
Tomcat ClusteringTomcat Clustering
Tomcat Clustering
gouthamrv
 
AJAX
AJAXAJAX
Mule Amazon SNS Connector
Mule Amazon SNS ConnectorMule Amazon SNS Connector
Mule Amazon SNS Connector
Ankush Sharma
 
Ajax
AjaxAjax
Ajax
AjaxAjax
C sharp and asp.net interview questions
C sharp and asp.net interview questionsC sharp and asp.net interview questions
C sharp and asp.net interview questions
Akhil Mittal
 
Ajax Ppt 1
Ajax Ppt 1Ajax Ppt 1
Ajax Ppt 1
JayaPrakash.m
 
Mule servlet connector
Mule servlet connectorMule servlet connector
Mule servlet connector
Ankush Sharma
 
Ajax
AjaxAjax
Rest web service_with_spring_hateoas
Rest web service_with_spring_hateoasRest web service_with_spring_hateoas
Rest web service_with_spring_hateoas
Zeid Hassan
 

Similar to Mule Ajax Connector (20)

Amazon SQS connector
Amazon SQS connectorAmazon SQS connector
Amazon SQS connector
 
jQuery Ajax
jQuery AjaxjQuery Ajax
jQuery Ajax
 
Reverse ajax in 2014
Reverse ajax in 2014Reverse ajax in 2014
Reverse ajax in 2014
 
25250716 seminar-on-ajax text
25250716 seminar-on-ajax text25250716 seminar-on-ajax text
25250716 seminar-on-ajax text
 
Mule soft ppt 2
Mule soft ppt  2Mule soft ppt  2
Mule soft ppt 2
 
Mule Microsoft Dynamics AX 2012 Connector
Mule Microsoft Dynamics AX 2012 ConnectorMule Microsoft Dynamics AX 2012 Connector
Mule Microsoft Dynamics AX 2012 Connector
 
Ajax ppt
Ajax pptAjax ppt
Ajax ppt
 
Ajax
AjaxAjax
Ajax
 
Ajax & Reverse Ajax Presenation
Ajax & Reverse Ajax PresenationAjax & Reverse Ajax Presenation
Ajax & Reverse Ajax Presenation
 
Ajax
AjaxAjax
Ajax
 
Tomcat Clustering
Tomcat ClusteringTomcat Clustering
Tomcat Clustering
 
AJAX
AJAXAJAX
AJAX
 
Mule Amazon SNS Connector
Mule Amazon SNS ConnectorMule Amazon SNS Connector
Mule Amazon SNS Connector
 
Ajax
AjaxAjax
Ajax
 
Ajax
AjaxAjax
Ajax
 
C sharp and asp.net interview questions
C sharp and asp.net interview questionsC sharp and asp.net interview questions
C sharp and asp.net interview questions
 
Ajax Ppt 1
Ajax Ppt 1Ajax Ppt 1
Ajax Ppt 1
 
Mule servlet connector
Mule servlet connectorMule servlet connector
Mule servlet connector
 
Ajax
AjaxAjax
Ajax
 
Rest web service_with_spring_hateoas
Rest web service_with_spring_hateoasRest web service_with_spring_hateoas
Rest web service_with_spring_hateoas
 

More from Ankush Sharma

Mule Microsoft Share Point 2010 Connector
Mule Microsoft Share Point 2010 ConnectorMule Microsoft Share Point 2010 Connector
Mule Microsoft Share Point 2010 Connector
Ankush Sharma
 
Mule Microsoft Share Point 2013 Connector
Mule Microsoft Share Point 2013 ConnectorMule Microsoft Share Point 2013 Connector
Mule Microsoft Share Point 2013 Connector
Ankush Sharma
 
Mule Microsoft Service Bus
Mule Microsoft Service BusMule Microsoft Service Bus
Mule Microsoft Service Bus
Ankush Sharma
 
Microsoft Dynamics CRM Connector
Microsoft Dynamics CRM ConnectorMicrosoft Dynamics CRM Connector
Microsoft Dynamics CRM Connector
Ankush Sharma
 
Mule Marketo Connector
Mule Marketo ConnectorMule Marketo Connector
Mule Marketo Connector
Ankush Sharma
 
Mule LDAP Connector
Mule LDAP ConnectorMule LDAP Connector
Mule LDAP Connector
Ankush Sharma
 
Mule HDFS Connector
Mule HDFS ConnectorMule HDFS Connector
Mule HDFS Connector
Ankush Sharma
 
Mule Concur Connector
Mule Concur ConnectorMule Concur Connector
Mule Concur Connector
Ankush Sharma
 
Mule Cloudhub Connector
Mule Cloudhub ConnectorMule Cloudhub Connector
Mule Cloudhub Connector
Ankush Sharma
 
Mule AMQP Connector
Mule AMQP ConnectorMule AMQP Connector
Mule AMQP Connector
Ankush Sharma
 
Mule Collection Aggregator
Mule Collection AggregatorMule Collection Aggregator
Mule Collection Aggregator
Ankush Sharma
 
Mule Collection Splitter
Mule Collection SplitterMule Collection Splitter
Mule Collection Splitter
Ankush Sharma
 
Mule Message Chunk Aggregator
Mule Message Chunk AggregatorMule Message Chunk Aggregator
Mule Message Chunk Aggregator
Ankush Sharma
 
Mule Message Chunk Splitter
Mule Message Chunk SplitterMule Message Chunk Splitter
Mule Message Chunk Splitter
Ankush Sharma
 
Mule Expression Transformer
Mule Expression TransformerMule Expression Transformer
Mule Expression Transformer
Ankush Sharma
 
Mule Schema Validation Filter
Mule Schema Validation FilterMule Schema Validation Filter
Mule Schema Validation Filter
Ankush Sharma
 
Mule Resequencer Filter
Mule Resequencer FilterMule Resequencer Filter
Mule Resequencer Filter
Ankush Sharma
 
Mule object to-xml transformer
Mule object to-xml transformerMule object to-xml transformer
Mule object to-xml transformer
Ankush Sharma
 
Mule xml to-jaxb object
Mule xml to-jaxb objectMule xml to-jaxb object
Mule xml to-jaxb object
Ankush Sharma
 
Mule xml to-object transformer
Mule xml to-object transformerMule xml to-object transformer
Mule xml to-object transformer
Ankush Sharma
 

More from Ankush Sharma (20)

Mule Microsoft Share Point 2010 Connector
Mule Microsoft Share Point 2010 ConnectorMule Microsoft Share Point 2010 Connector
Mule Microsoft Share Point 2010 Connector
 
Mule Microsoft Share Point 2013 Connector
Mule Microsoft Share Point 2013 ConnectorMule Microsoft Share Point 2013 Connector
Mule Microsoft Share Point 2013 Connector
 
Mule Microsoft Service Bus
Mule Microsoft Service BusMule Microsoft Service Bus
Mule Microsoft Service Bus
 
Microsoft Dynamics CRM Connector
Microsoft Dynamics CRM ConnectorMicrosoft Dynamics CRM Connector
Microsoft Dynamics CRM Connector
 
Mule Marketo Connector
Mule Marketo ConnectorMule Marketo Connector
Mule Marketo Connector
 
Mule LDAP Connector
Mule LDAP ConnectorMule LDAP Connector
Mule LDAP Connector
 
Mule HDFS Connector
Mule HDFS ConnectorMule HDFS Connector
Mule HDFS Connector
 
Mule Concur Connector
Mule Concur ConnectorMule Concur Connector
Mule Concur Connector
 
Mule Cloudhub Connector
Mule Cloudhub ConnectorMule Cloudhub Connector
Mule Cloudhub Connector
 
Mule AMQP Connector
Mule AMQP ConnectorMule AMQP Connector
Mule AMQP Connector
 
Mule Collection Aggregator
Mule Collection AggregatorMule Collection Aggregator
Mule Collection Aggregator
 
Mule Collection Splitter
Mule Collection SplitterMule Collection Splitter
Mule Collection Splitter
 
Mule Message Chunk Aggregator
Mule Message Chunk AggregatorMule Message Chunk Aggregator
Mule Message Chunk Aggregator
 
Mule Message Chunk Splitter
Mule Message Chunk SplitterMule Message Chunk Splitter
Mule Message Chunk Splitter
 
Mule Expression Transformer
Mule Expression TransformerMule Expression Transformer
Mule Expression Transformer
 
Mule Schema Validation Filter
Mule Schema Validation FilterMule Schema Validation Filter
Mule Schema Validation Filter
 
Mule Resequencer Filter
Mule Resequencer FilterMule Resequencer Filter
Mule Resequencer Filter
 
Mule object to-xml transformer
Mule object to-xml transformerMule object to-xml transformer
Mule object to-xml transformer
 
Mule xml to-jaxb object
Mule xml to-jaxb objectMule xml to-jaxb object
Mule xml to-jaxb object
 
Mule xml to-object transformer
Mule xml to-object transformerMule xml to-object transformer
Mule xml to-object transformer
 

Recently uploaded

Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
CAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on BlockchainCAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on Blockchain
Claudio Di Ciccio
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 

Recently uploaded (20)

Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
CAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on BlockchainCAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on Blockchain
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 

Mule Ajax Connector

  • 2. What is AJAX? ◦ Ajax stands for Asynchronous JavaScript and XML, which is used to send asynchronous web calls to any URL. Ajax is basically meant for UI tasks such as: ◦ Update a web page without reloading the page ◦ Request data from a server - after the page has loaded ◦ Receive data from a server - after the page has loaded ◦ Send data to a server - in the background But in Mule we can send an Ajax asynchronous call to any webservice we want.
  • 3. So what is Mule Ajax connector? The Ajax Connector, creates a transport channel to send messages asynchronously to and from an Ajax server, which communicates with external Web resources. The Ajax endpoint connects Mule flow to an external web page. A JavaScript client attached to the webpage listens for user input, which it sends through the Ajax endpoint to your flow for processing. We can use Ajax connector in two ways: ◦ In first, if we drag and drop ajax connector at the start of the flow it acts as the inbound connector for that flow. ◦ If we put it in middle or at end of flow then it acts as an outbound connector.
  • 4. Ajax configuration - General Tab ◦ General tab contains following properties – ◦ Display name – User can give a name of the connector for display purposes. ◦ Channel – This is the channel over which Ajax communicates with the web page. ◦ Connector configuration – A drop down allows to select a previously created AJAX connector configuration or one can create a new configuration by clicking on green + button in bottom right corner.
  • 5. Ajax configuration - Advanced Tab(Cont.) ◦ Advanced tab contains following properties – ◦ Address – This property contains the value of address for this AJAX connector endpoint. ◦ Response Timeout – This property tells AJAX connector endpoint to wait for how much time before timing out a request. ◦ Encoding – This property tells what encoding standard have been applied on message data. ◦ MIME Type – Mime type is the data type that endpoint supports e.g. application/json.
  • 6. Ajax configuration - Advanced Tab ◦ Advanced tab contains following properties – ◦ Connector endpoint – A drop down allows to select a previously created AJAX connector configuration or one can create a new configuration by clicking on green + button in bottom right corner. ◦ Checkboxes available in Advanced tab – ◦ Disable Transport Transformer – Must be checked if there is no need to use the endpoint’s default response transport. ◦ Enable default events tracking – Check this box to enable business event tracking for this endpoint.
  • 7. Ajax configuration – Reconnection Tab(Cont.) ◦ The Reconnection tab contains following properties – ◦ Do not use a Reconnection Strategy – This is the default radio button which specifies do not try to reconnect if there is error connecting to the web address URL.
  • 8. Ajax configuration – Reconnection Tab ◦ The Reconnection tab contains following properties – ◦ Standard Reconnection – Use this radio button to enable a standard reconnection strategy. ◦ Frequency (ms) – The frequency time in milliseconds after which the AJAX connector will try to access the web address URL. ◦ Reconnect Attempts – This tells how many times the AJAX connector will try to connect to web address URL. ◦ Reconnector Forever – Check this box if there is need to make AJAX connector connect to web address URL until there is a successful connection with it. ◦ Custom Reconnection – Use this radio button to create a custom Reconnection strategy. ◦ Class – The java class which will come in action after a failed connection attempt. ◦ Run the connection in a separated thread – Check this box if there is need to use this custom reconnection operation in separate thread.
  • 9. Ajax configuration – Transformers Tab(Cont.) ◦ The Transformers tab contains following properties- ◦ Global Transformers - A synchronous transformers that will be applied to the request before it is sent to the transport.
  • 10. Ajax configuration – Notes and Metadata Tab ◦ Notes tab - This tab is used to add special notes for the Ajax connector. ◦ Metadata tab – This tab is used to add any metadata entry for Ajax connector.