<?xml version="1.0" encoding="UTF-8"?>
<feature-group-spec name="standalone-ec2-full-ha" xmlns="urn:jboss:galleon:feature-group:1.0">

    <feature spec="interface">
        <param name="interface" value="unsecure"/>
        <param name="inet-address" value="${jboss.bind.address.unsecure:127.0.0.1}"/>
    </feature>
    <feature spec="socket-binding-group">
        <param name="socket-binding-group" value="standard-sockets" />
        <param name="port-offset" value="${jboss.socket.binding.port-offset:0}"/>
        <param name="default-interface" value="public"/>
        <feature-group name="iiop-sockets"/>
    </feature>

    <feature-group name="standalone-ha">
        <feature spec="subsystem.modcluster">
            <feature spec="subsystem.modcluster.proxy">
                <param name="proxy" value="default"/>
                <unset param="advertise-socket"/>
                <param name="advertise" value="false"/>
                <param name="proxies" value=""/>
            </feature>
        </feature>
        <exclude feature-id="subsystem.jgroups.stack:stack=tcp"/>
        <exclude feature-id="subsystem.jgroups.stack:stack=udp"/>
        <feature spec="subsystem.jgroups">
            <feature spec="subsystem.jgroups.stack">
                <param name="stack" value="tcp"/>
                <feature spec="subsystem.jgroups.stack.transport">
                    <param name="transport" value="TCP"/>
                    <param name="socket-binding" value="jgroups-tcp"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="S3_PING"/>
                    <param name="properties" value="{access_key=&quot;${jboss.jgroups.s3_ping.access_key}&quot;,secret_access_key=&quot;${jboss.jgroups.s3_ping.secret_access_key}&quot;,location=&quot;${jboss.jgroups.s3_ping.bucket}&quot;}"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="MERGE3"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="FD_SOCK"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="FD_ALL"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="VERIFY_SUSPECT"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="pbcast.NAKACK2"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="UNICAST3"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="pbcast.STABLE"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="pbcast.GMS"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="FRAG3"/>
                </feature>
            </feature>
            <feature spec="subsystem.jgroups.stack">
                <param name="stack" value="udp"/>
                <feature spec="subsystem.jgroups.stack.transport">
                    <param name="transport" value="UDP"/>
                    <param name="socket-binding" value="jgroups-udp"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="S3_PING"/>
                    <param name="properties" value="{access_key=&quot;${jboss.jgroups.s3_ping.access_key}&quot;,secret_access_key=&quot;${jboss.jgroups.s3_ping.secret_access_key}&quot;,location=&quot;${jboss.jgroups.s3_ping.bucket}&quot;}"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="MERGE3"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="FD_SOCK"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="FD_ALL"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="VERIFY_SUSPECT"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="pbcast.NAKACK2"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="UNICAST3"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="pbcast.STABLE"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="pbcast.GMS"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="UFC"/>
                </feature>
                <feature spec="subsystem.jgroups.stack.protocol">
                    <param name="protocol" value="FRAG3"/>
                </feature>
            </feature>
        </feature>
    </feature-group>
    <feature-group name="jsr77"/>
    <feature-group name="iiop-openjdk"/>
    <feature-group name="messaging-activemq-ha"/>

    <feature spec="subsystem.ejb3">
        <feature spec="subsystem.ejb3.service.iiop">
            <param name="enable-by-default" value="false"/>
            <param name="use-qualified-name" value="false"/>
        </feature>
    </feature>

</feature-group-spec>
