ARTEMIS-3707 fix ra.xml
* update xml schemas * fix ConnectionParameters * remove TransactionManagerLocatorMethod and "The producer max rate" * remove The max connections
This commit is contained in:
parent
28513e048f
commit
694bf20d08
|
@ -2,14 +2,13 @@
|
|||
|
||||
<!-- $Id: ra.xml 76819 2008-08-08 11:04:20Z jesper.pedersen $ -->
|
||||
|
||||
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
|
||||
http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
|
||||
version="1.5">
|
||||
<connector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
version="2.0"
|
||||
xmlns="https://jakarta.ee/xml/ns/jakartaee"
|
||||
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/connector_2_0.xsd ">
|
||||
|
||||
<display-name>ArtemisRA</display-name>
|
||||
<description>ActiveMQ Artemis Resource Adapter</description>
|
||||
<display-name>ArtemisRA</display-name>
|
||||
<vendor-name>Apache Software Foundation</vendor-name>
|
||||
<eis-type>Jakarta Messaging 3.0 Server</eis-type>
|
||||
<resourceadapter-version>1.0</resourceadapter-version>
|
||||
|
@ -52,7 +51,7 @@
|
|||
</description>
|
||||
<config-property-name>ConnectionParameters</config-property-name>
|
||||
<config-property-type>java.lang.String</config-property-type>
|
||||
<config-property-value>host=localhost,port=61616</config-property-value>
|
||||
<config-property-value>host=localhost;port=61616</config-property-value>
|
||||
</config-property>
|
||||
|
||||
<!-- <config-property>
|
||||
|
@ -60,11 +59,6 @@
|
|||
<config-property-name>HA</config-property-name>
|
||||
<config-property-type>java.lang.Boolean</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>The method to use for locating the transactionmanager</description>
|
||||
<config-property-name>TransactionManagerLocatorMethod</config-property-name>
|
||||
<config-property-type>java.lang.String</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>Use A local Transaction instead of XA?</description>
|
||||
<config-property-name>UseLocalTx</config-property-name>
|
||||
|
@ -160,11 +154,6 @@
|
|||
<config-property-name>ConfirmationWindowSize</config-property-name>
|
||||
<config-property-type>java.lang.Integer</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>The producer max rate</description>
|
||||
<config-property-name>ProducerMaxRate</config-property-name>
|
||||
<config-property-type>java.lang.Integer</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>The min large message size</description>
|
||||
<config-property-name>MinLargeMessageSize</config-property-name>
|
||||
|
@ -190,10 +179,6 @@
|
|||
<config-property-name>AutoGroup</config-property-name>
|
||||
<config-property-type>java.lang.Boolean</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>The max connections</description>
|
||||
<config-property-type>java.lang.Integer</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>The pre acknowledge</description>
|
||||
<config-property-name>PreAcknowledge</config-property-name>
|
||||
|
@ -238,7 +223,7 @@
|
|||
<description>The default session type</description>
|
||||
<config-property-name>SessionDefaultType</config-property-name>
|
||||
<config-property-type>java.lang.String</config-property-type>
|
||||
<config-property-value>javax.jms.Queue</config-property-value>
|
||||
<config-property-value>jakarta.jms.Queue</config-property-value>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>Whether or not to participate in a JTA transaction, this is used if the RA does not have access to the Transaction Manager</description>
|
||||
|
@ -255,13 +240,13 @@
|
|||
|
||||
<connectionfactory-interface>org.apache.activemq.artemis.ra.ActiveMQRAConnectionFactory</connectionfactory-interface>
|
||||
<connectionfactory-impl-class>org.apache.activemq.artemis.ra.ActiveMQRAConnectionFactoryImpl</connectionfactory-impl-class>
|
||||
<connection-interface>javax.jms.Session</connection-interface>
|
||||
<connection-interface>jakarta.jms.Session</connection-interface>
|
||||
<connection-impl-class>org.apache.activemq.artemis.ra.ActiveMQRASession</connection-impl-class>
|
||||
</connection-definition>
|
||||
<transaction-support>XATransaction</transaction-support>
|
||||
<authentication-mechanism>
|
||||
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
|
||||
<credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
|
||||
<credential-interface>jakarta.resource.spi.security.PasswordCredential</credential-interface>
|
||||
</authentication-mechanism>
|
||||
<reauthentication-support>false</reauthentication-support>
|
||||
</outbound-resourceadapter>
|
||||
|
@ -269,18 +254,18 @@
|
|||
<inbound-resourceadapter>
|
||||
<messageadapter>
|
||||
<messagelistener>
|
||||
<messagelistener-type>javax.jms.MessageListener</messagelistener-type>
|
||||
<messagelistener-type>jakarta.jms.MessageListener</messagelistener-type>
|
||||
<activationspec>
|
||||
<activationspec-class>org.apache.activemq.artemis.ra.inflow.ActiveMQActivationSpec</activationspec-class>
|
||||
<required-config-property>
|
||||
<config-property-name>destination</config-property-name>
|
||||
<config-property-name>destination</config-property-name>
|
||||
</required-config-property>
|
||||
</activationspec>
|
||||
</messagelistener>
|
||||
</messageadapter>
|
||||
</inbound-resourceadapter>
|
||||
<adminobject>
|
||||
<adminobject-interface>javax.jms.Queue</adminobject-interface>
|
||||
<adminobject-interface>jakarta.jms.Queue</adminobject-interface>
|
||||
<adminobject-class>org.apache.activemq.artemis.jms.client.ActiveMQQueue</adminobject-class>
|
||||
<config-property>
|
||||
<config-property-name>Address</config-property-name>
|
||||
|
@ -288,7 +273,7 @@
|
|||
</config-property>
|
||||
</adminobject>
|
||||
<adminobject>
|
||||
<adminobject-interface>javax.jms.Topic</adminobject-interface>
|
||||
<adminobject-interface>jakarta.jms.Topic</adminobject-interface>
|
||||
<adminobject-class>org.apache.activemq.artemis.jms.client.ActiveMQTopic</adminobject-class>
|
||||
<config-property>
|
||||
<config-property-name>Address</config-property-name>
|
||||
|
@ -296,7 +281,7 @@
|
|||
</config-property>
|
||||
</adminobject>
|
||||
<adminobject>
|
||||
<adminobject-interface>javax.jms.ConnectionFactory</adminobject-interface>
|
||||
<adminobject-interface>jakarta.jms.ConnectionFactory</adminobject-interface>
|
||||
<adminobject-class>org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory</adminobject-class>
|
||||
<config-property>
|
||||
<config-property-name>BrokerURL</config-property-name>
|
||||
|
@ -304,7 +289,7 @@
|
|||
</config-property>
|
||||
</adminobject>
|
||||
<adminobject>
|
||||
<adminobject-interface>javax.jms.XAConnectionFactory</adminobject-interface>
|
||||
<adminobject-interface>jakarta.jms.XAConnectionFactory</adminobject-interface>
|
||||
<adminobject-class>org.apache.activemq.artemis.jms.client.ActiveMQXAConnectionFactory</adminobject-class>
|
||||
<config-property>
|
||||
<config-property-name>BrokerURL</config-property-name>
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
<!-- $Id: ra.xml 76819 2008-08-08 11:04:20Z jesper.pedersen $ -->
|
||||
|
||||
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
<connector xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
|
||||
http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
|
||||
version="1.5">
|
||||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
|
||||
http://xmlns.jcp.org/xml/ns/javaee/connector_1_7.xsd "
|
||||
version="1.7">
|
||||
|
||||
<description>ActiveMQ Artemis Resource Adapter</description>
|
||||
<display-name>ArtemisRA</display-name>
|
||||
|
@ -52,7 +52,7 @@
|
|||
</description>
|
||||
<config-property-name>ConnectionParameters</config-property-name>
|
||||
<config-property-type>java.lang.String</config-property-type>
|
||||
<config-property-value>host=localhost,port=61616</config-property-value>
|
||||
<config-property-value>host=localhost;port=61616</config-property-value>
|
||||
</config-property>
|
||||
|
||||
<!-- <config-property>
|
||||
|
@ -60,11 +60,6 @@
|
|||
<config-property-name>HA</config-property-name>
|
||||
<config-property-type>java.lang.Boolean</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>The method to use for locating the transactionmanager</description>
|
||||
<config-property-name>TransactionManagerLocatorMethod</config-property-name>
|
||||
<config-property-type>java.lang.String</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>Use A local Transaction instead of XA?</description>
|
||||
<config-property-name>UseLocalTx</config-property-name>
|
||||
|
@ -160,11 +155,6 @@
|
|||
<config-property-name>ConfirmationWindowSize</config-property-name>
|
||||
<config-property-type>java.lang.Integer</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>The producer max rate</description>
|
||||
<config-property-name>ProducerMaxRate</config-property-name>
|
||||
<config-property-type>java.lang.Integer</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>The min large message size</description>
|
||||
<config-property-name>MinLargeMessageSize</config-property-name>
|
||||
|
@ -190,10 +180,6 @@
|
|||
<config-property-name>AutoGroup</config-property-name>
|
||||
<config-property-type>java.lang.Boolean</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>The max connections</description>
|
||||
<config-property-type>java.lang.Integer</config-property-type>
|
||||
</config-property>
|
||||
<config-property>
|
||||
<description>The pre acknowledge</description>
|
||||
<config-property-name>PreAcknowledge</config-property-name>
|
||||
|
|
Loading…
Reference in New Issue