Contact Us 1-800-596-4880

Jetty SSL Transport

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=""
   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.