Contact Free trial Login

Jetty SSL Transport

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.

The Jetty SSL transport works exactly the same way as the HTTPS Transport Reference.

For example, the following configuration specifies the Jetty-SSL connectors in the first flow and the HTTPS connector in the second:

<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:https="" xmlns:jetty=""
    xmlns:mulexml="" xmlns:vm=""
    xmlns:cxf="" xmlns:jms=""
    xmlns:ajax="" xmlns=""
    xmlns:doc="" xmlns:spring=""
    version="CE-3.6.0" xmlns:xsi="" xsi:schemaLocation=" ">
  <http:listener-config name="HTTP_Listener_Configuration" protocol="HTTPS" host="localhost" port="8081" doc:name="HTTP Listener Configuration">
      <tls:trust-store path="mytrustpath" password="mytrustpass"/>
      <tls:key-store path="mykeypath" password="mypass" keyPassword="mykeypass"/>
  <flow name="jettyFlow">
    <jetty:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081"/>
  <flow name="HTTPSFlow">
    <http:listener config-ref="HTTP_Listener_Configuration" path="/" doc:name="HTTPS"/>
    <echo-component doc:name="Echo"/>

If you do not need this level of security, you can use the Jetty Transport Reference instead.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub