<?xml version="1.0" ?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<layer-spec xmlns="urn:jboss:galleon:layer-spec:2.0" name="embedded-activemq">
    <props>
        <prop name="org.wildfly.rule.add-on-depends-on" value="only:messaging-activemq"/>
        <prop name="org.wildfly.rule.add-on" value="messaging,embedded-activemq"/>
        <prop name="org.wildfly.rule.add-on-cardinality" value="1"/>
        <prop name="org.wildfly.rule.xml-path" value="[/WEB-INF/*-jms.xml,/META-INF/*-jms.xml],/messaging-deployment/server/jms-destinations"/>
        <prop name="org.wildfly.rule.add-on-description" value="Support for an embedded Apache Activemq Artemis Jakarta Messaging broker."/>
    </props>
    <dependencies>
        <layer name="messaging-activemq"/>
        <layer name="cdi"/>
        <layer name="ee"/>
        <layer name="naming"/>
        <layer name="elytron"/>
        <!--- For http-invoker and http-acceptors -->
        <layer name="remoting"/>
        <layer name="undertow"/>
    </dependencies>
    <feature-group name="embedded-activemq"/>
    <feature-group name="application-http-basic"/>
    <feature-group name="undertow-http-invoker"/>
    <feature-group name="remote-naming"/>
</layer-spec>
