<?xml version="1.0" encoding="UTF-8"?>
<feature-group-spec name="messaging-remote-activemq" xmlns="urn:jboss:galleon:feature-group:1.0">
    <feature spec="subsystem.messaging-activemq">
        <feature spec="subsystem.messaging-activemq.remote-connector">
            <param name="remote-connector" value="artemis"/>
            <param name="socket-binding" value="messaging-activemq"/>
            <param name="params" value="{use-nio=true,use-nio-global-worker-pool=true}"/>
        </feature>
        <feature spec="subsystem.messaging-activemq.pooled-connection-factory">
            <param name="pooled-connection-factory" value="activemq-ra"/>
            <param name="entries" value="[java:/JmsXA,java:jboss/DefaultJMSConnectionFactory]"/>
            <param name="connectors" value="[artemis]"/>
            <param name="transaction" value="xa"/>
            <param name="user" value="guest"/>
            <param name="password" value="guest"/>
        </feature>
    </feature>
    <feature spec="subsystem.ee">
        <feature spec="subsystem.ee.service.default-bindings">
            <param name="jms-connection-factory" value="java:jboss/DefaultJMSConnectionFactory"/>
        </feature>
    </feature>
</feature-group-spec>