You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2020/09/16 14:10:14 UTC
[activemq-artemis] branch master updated: ARTEMIS-2903 support
admin objects in JCA RA
This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/master by this push:
new b99401a ARTEMIS-2903 support admin objects in JCA RA
new ba902a9 This closes #3263
b99401a is described below
commit b99401a84f1c7bf12b4f12f266d4b94725a58cbb
Author: Justin Bertram <jb...@apache.org>
AuthorDate: Tue Sep 15 17:48:57 2020 -0500
ARTEMIS-2903 support admin objects in JCA RA
Supporting admin objects will allow easier integration with Java EE
application servers. I tested this in Wildfly 18.
---
.../artemis-ra-rar/src/main/resources/ra.xml | 33 +++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/examples/features/sub-modules/artemis-ra-rar/src/main/resources/ra.xml b/examples/features/sub-modules/artemis-ra-rar/src/main/resources/ra.xml
index 6292ee6..3240be6 100644
--- a/examples/features/sub-modules/artemis-ra-rar/src/main/resources/ra.xml
+++ b/examples/features/sub-modules/artemis-ra-rar/src/main/resources/ra.xml
@@ -309,6 +309,37 @@
</messagelistener>
</messageadapter>
</inbound-resourceadapter>
-
+ <adminobject>
+ <adminobject-interface>javax.jms.Queue</adminobject-interface>
+ <adminobject-class>org.apache.activemq.artemis.jms.client.ActiveMQQueue</adminobject-class>
+ <config-property>
+ <config-property-name>Address</config-property-name>
+ <config-property-type>java.lang.String</config-property-type>
+ </config-property>
+ </adminobject>
+ <adminobject>
+ <adminobject-interface>javax.jms.Topic</adminobject-interface>
+ <adminobject-class>org.apache.activemq.artemis.jms.client.ActiveMQTopic</adminobject-class>
+ <config-property>
+ <config-property-name>Address</config-property-name>
+ <config-property-type>java.lang.String</config-property-type>
+ </config-property>
+ </adminobject>
+ <adminobject>
+ <adminobject-interface>javax.jms.ConnectionFactory</adminobject-interface>
+ <adminobject-class>org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory</adminobject-class>
+ <config-property>
+ <config-property-name>BrokerURL</config-property-name>
+ <config-property-type>java.lang.String</config-property-type>
+ </config-property>
+ </adminobject>
+ <adminobject>
+ <adminobject-interface>javax.jms.XAConnectionFactory</adminobject-interface>
+ <adminobject-class>org.apache.activemq.artemis.jms.client.ActiveMQXAConnectionFactory</adminobject-class>
+ <config-property>
+ <config-property-name>BrokerURL</config-property-name>
+ <config-property-type>java.lang.String</config-property-type>
+ </config-property>
+ </adminobject>
</resourceadapter>
</connector>