<?xml version="1.0" ?>

<feature-spec xmlns="urn:jboss:galleon:feature-spec:2.0" name="subsystem.modcluster.proxy" stability="default">
    <annotation name="jboss-op">
        <elem name="name" value="add"/>
        <elem name="op-params" value="advertise,advertise-security-key,advertise-socket,auto-enable-contexts,balancer,excluded-contexts,flush-packets,flush-wait,listener,load-balancing-group,max-attempts,node-timeout,ping,proxies,proxy-url,session-draining-strategy,smax,socket-timeout,ssl-context,status-interval,sticky-session,sticky-session-remove,sticky-session-force,stop-context-timeout,ttl,worker-timeout"/>
        <elem name="addr-params" value="profile,subsystem,proxy"/>
    </annotation>
    <annotation name="feature-branch">
        <elem name="id" value="subsystem.modcluster"/>
    </annotation>
    <provides>
        <capability name="$profile.org.wildfly.mod_cluster.service.$proxy"/>
    </provides>
    <requires>
        <capability name="$profile.org.wildfly.security.ssl-context.$ssl-context" optional="true"/>
        <capability name="$profile.org.wildfly.undertow.listener.$listener"/>
        <capability name="org.wildfly.network.socket-binding.$advertise-socket" optional="true"/>
        <capability name="org.wildfly.network.outbound-socket-binding.$proxies" optional="true"/>
    </requires>
    <refs>
        <ref feature="subsystem.modcluster"/>
        <ref feature="profile" nillable="true"/>
    </refs>
    <params>
        <param name="worker-timeout" nillable="true" stability="default"/>
        <param name="advertise-socket" nillable="true" stability="default"/>
        <param name="ping" nillable="true" stability="default"/>
        <param name="listener" stability="default"/>
        <param name="subsystem" feature-id="true" default="modcluster"/>
        <param name="ssl-context" nillable="true" stability="default"/>
        <param name="advertise-security-key" nillable="true" stability="default"/>
        <param name="sticky-session" nillable="true" stability="default"/>
        <param name="sticky-session-force" nillable="true" stability="default"/>
        <param name="balancer" nillable="true" stability="default"/>
        <param name="flush-packets" nillable="true" stability="default"/>
        <param name="session-draining-strategy" nillable="true" stability="default"/>
        <param name="max-attempts" nillable="true" stability="default"/>
        <param name="auto-enable-contexts" nillable="true" stability="default"/>
        <param name="proxies" nillable="true" type="List&lt;String&gt;" stability="default"/>
        <param name="proxy-url" nillable="true" stability="default"/>
        <param name="node-timeout" nillable="true" stability="default"/>
        <param name="smax" nillable="true" stability="default"/>
        <param name="stop-context-timeout" nillable="true" stability="default"/>
        <param name="profile" feature-id="true" default="GLN_UNDEFINED"/>
        <param name="ttl" nillable="true" stability="default"/>
        <param name="proxy" feature-id="true"/>
        <param name="load-balancing-group" nillable="true" stability="default"/>
        <param name="sticky-session-remove" nillable="true" stability="default"/>
        <param name="socket-timeout" nillable="true" stability="default"/>
        <param name="advertise" nillable="true" stability="default"/>
        <param name="excluded-contexts" nillable="true" stability="default"/>
        <param name="flush-wait" nillable="true" stability="default"/>
        <param name="status-interval" nillable="true" stability="default"/>
    </params>
</feature-spec>