summaryrefslogtreecommitdiff
path: root/java/jca/src/main/resources/META-INF/ra.xml
diff options
context:
space:
mode:
Diffstat (limited to 'java/jca/src/main/resources/META-INF/ra.xml')
-rwxr-xr-xjava/jca/src/main/resources/META-INF/ra.xml42
1 files changed, 17 insertions, 25 deletions
diff --git a/java/jca/src/main/resources/META-INF/ra.xml b/java/jca/src/main/resources/META-INF/ra.xml
index 2c8344c8f0..a9374f52d7 100755
--- a/java/jca/src/main/resources/META-INF/ra.xml
+++ b/java/jca/src/main/resources/META-INF/ra.xml
@@ -69,7 +69,7 @@
</config-property>
<config-property>
- <description>Interval between setup attempts</description>
+ <description>Interval between setup attempts in milliseconds</description>
<config-property-name>SetupInterval</config-property-name>
<config-property-type>java.lang.Long</config-property-type>
<config-property-value>5000</config-property-value>
@@ -104,10 +104,17 @@
</config-property>
<config-property>
- <description>connection URL</description>
+ <description>Connection URL</description>
<config-property-name>ConnectionURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
- <config-property-value>amqp://guest:guest@/test?brokerlist='tcp://localhost:5672'</config-property-value>
+ <config-property-value>amqp://anonymous:passwd@client/test?brokerlist='tcp://localhost?sasl_mechs='PLAIN''</config-property-value>
+ </config-property>
+
+ <config-property>
+ <description>Use a JMS Connection per MessageHandler</description>
+ <config-property-name>UseConnectionPerHandler</config-property-name>
+ <config-property-type>java.lang.Boolean</config-property-type>
+ <config-property-value>true</config-property-value>
</config-property>
<outbound-resourceadapter>
@@ -116,14 +123,14 @@
<config-property>
<description>Default session type</description>
- <config-property-name>sessionDefaultType</config-property-name>
+ <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>
<config-property>
<description>Specify lock timeout in seconds</description>
- <config-property-name>useTryLock</config-property-name>
+ <config-property-name>UseTryLock</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>0</config-property-value>
</config-property>
@@ -137,7 +144,7 @@
<config-property>
<description>Client ID for the connection</description>
- <config-property-name>ClientID</config-property-name>
+ <config-property-name>ClientId</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>client_id</config-property-value>
</config-property>
@@ -195,12 +202,11 @@
</messagelistener>
</messageadapter>
</inbound-resourceadapter>
-
<adminobject>
<adminobject-interface>org.apache.qpid.ra.admin.QpidQueue</adminobject-interface>
<adminobject-class> org.apache.qpid.ra.admin.QpidQueueImpl</adminobject-class>
<config-property>
- <config-property-name>destinationAddress </config-property-name>
+ <config-property-name>DestinationAddress </config-property-name>
<config-property-type>java.lang.String </config-property-type>
</config-property>
</adminobject>
@@ -208,30 +214,16 @@
<adminobject-interface>org.apache.qpid.ra.admin.QpidTopic</adminobject-interface>
<adminobject-class> org.apache.qpid.ra.admin.QpidTopicImpl</adminobject-class>
<config-property>
- <config-property-name>destinationAddress </config-property-name>
+ <config-property-name>DestinationAddress </config-property-name>
<config-property-type>java.lang.String </config-property-type>
</config-property>
</adminobject>
- <!--
- <adminobject>
- <adminobject-interface>javax.jms.Destination</adminobject-interface>
- <adminobject-class> org.apache.qpid.ra.admin.QpidDestinationProxy</adminobject-class>
- <config-property>
- <config-property-name>destinationAddress </config-property-name>
- <config-property-type>java.lang.String </config-property-type>
- </config-property>
- <config-property>
- <config-property-name>destinationType</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.qpid.ra.admin.QpidConnectionFactoryProxy</adminobject-class>
<config-property>
- <config-property-name>connectionURL</config-property-name>
- <config-property-type>java.lang.String </config-property-type>
+ <config-property-name>ConnectionURL</config-property-name>
+ <config-property-type>java.lang.String</config-property-type>
</config-property>
</adminobject>
</resourceadapter>