How to connect jboss EAP 7.2 to remote Artemis using Resource Adapter

Latest response

Domain.xml has

subsystem xmlns="urn:jboss:domain:resource-adapters:5.0"
                resource-adapters>
                    resource-adapter id="activemq">
                        module slot="main" id="org.apache.activemq.artemis.ra"/>
But its gives error as 
    ("subsystem" => "resource-adapters"),
    ("resource-adapter" => "activemq")
]) - failure description: "WFLYJCA0073: Failed to load module for RA [org.apache.activemq.artemis]"

Note : In Module dir
modules\system\layers\base\org\apache\activemq\artemis

below dir are present bydefault
journal
main
protocol/hornetq
ra

I have tried with all above dir in module. but still error

<module slot="main" id="org.apache.activemq.artemis.ra"/>
<module slot="main" id="org.apache.activemq.artemis.protocol.hornetq"/>
<module slot="main" id="org.apache.activemq.artemis.journal"/>
<module slot="main" id="org.apache.activemq.artemis"/>

~~~~~~~~~~~~

Responses

Have you looked at the documentation ?

https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.3/html-single/configuring_messaging/index#jms_resources_configuration_using_the_jmsdestinationdefinition_annotation