Contact Free trial Login

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.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.