Connecting Using Transports
|Mule Runtime Engine versions 3.5, 3.6, and 3.7 reached End of Life on or before January 25, 2020. For more information, contact your Customer Success Manager to determine how you can migrate to the latest Mule version.|
A transport is responsible for carrying messages from application to application in the Mule ESB framework. In EIP terms, transports are used to implement message channels and provide connectivity to an underlying data source or message channel in a consistent way. For example, the HTTP transport handles messages sent via the HTTP protocol, whereas the File transport reads and writes files placed on the server’s file system.
A transport also provides a set of functionality that handles the messages on a specific channel. This includes specific transformers like the
<body-to-parameter-map-transformer> in the HTTP transport and other specific elements like the various filename parsers for the File transport.
The heart of a transport is the connector. The connector maintains the configuration and state for the transport. When receiving messages, a connector uses a message receiver, which reads the data, packages it as a message, and passes it to the first message processor in a flow. When sending messages, the connector uses a message dispatcher, which receives the messages and routing instructions from the previous Message Processor in a flow and sends the message to the next endpoint or external service.
Transports are configured via endpoints in Mule. See Endpoint Configuration Reference for an explanation on how this is done.
A list of available transports and the reference topic including example configuration for each specific transport bundled with Mule can be found in the Transport Configuration Reference.