<?xml version="1.0" encoding="UTF-8"?>
<inboundEndpoint xmlns="http://ws.apache.org/ns/synapse"
                 name="SecureWebSocketEP"
                 sequence="{{apim.wss.dispatch.sequence}}"
                 onError="{{apim.wss.dispatch.on_error.sequence}}"
                 protocol="wss"
                 suspend="false">
    <parameters>
        <parameter name="inbound.ws.port">{{apim.wss.port}}</parameter>
        <parameter name="ws.outflow.dispatch.sequence">{{apim.wss.out_dispatch_seq}}</parameter>
        <parameter name="ws.pipeline.handler.class">{{apim.wss.handler.class}}</parameter>
        <parameter name="ws.subprotocol.handler.class">{{apim.wss.subprotocol.handler.class}}</parameter>
        <parameter name="dispatch.custom.sequence">{{apim.wss.dispatch.custom.sequence}}</parameter>
        <parameter name="ws.outflow.dispatch.fault.sequence">{{apim.wss.outflow.dispatch.fault.sequence}}</parameter>
        <parameter name="ws.client.side.broadcast.level">{{apim.wss.client.side.broadcast.level}}</parameter>
        <parameter name="ws.use.port.offset">true</parameter>
        <parameter name="wss.ssl.key.store.file">{{apim.wss.keystore.location}}</parameter>
        <parameter name="wss.ssl.key.store.pass">{{apim.wss.keystore.password}}</parameter>
        <parameter name="wss.ssl.cert.pass">{{apim.wss.keystore.key_password}}</parameter>
        <parameter name="wss.ssl.protocols">{{apim.wss.ssl_enabled_protocols}}</parameter>
    </parameters>
</inboundEndpoint>
