2. Ajax Connector
Ajax is an acronym for Asynchronous JavaScript and XML, a cluster of related
technologies that facilitate the creation of asynchronous Web applications.
The Ajax Connector, which can be configured as an inbound or outbound
endpoint, creates a transport channel to send messages asynchronously to and
from an Ajax server, which communicates with external Web resources.
3. Configuration
Configuration of an Ajax endpoint typically requires two steps:
Decide where you want to place the Ajax endpoint within your Mule flow, then drag it
from the Palette to the appropriate place in the sequence of building blocks that make
up your Mule flow.
If you place the Ajax endpoint at the beginning of the flow, it acts as an inbound
endpoint (such as in your message source).
If you place the Ajax building block in the middle or at the end of the flow, it serves as
an outbound endpoint.
Configure the Ajax endpoint (and the Connector Configuration it depends on to define
its transport channel) by providing values for the fields on the various tabs on the Ajax
endpoint properties editor, which you open by double-clicking the Ajax icon on the
Message Flow canvas.