You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ho...@apache.org on 2007/10/05 04:17:00 UTC

svn commit: r582058 - /geronimo/server/branches/2.0/modules/geronimo-activemq-ra/src/main/rar/META-INF/ra.xml

Author: hogstrom
Date: Thu Oct  4 19:16:59 2007
New Revision: 582058

URL: http://svn.apache.org/viewvc?rev=582058&view=rev
Log:
Added the following attributes for configuration on the resource adapter.  These properties are 
documented at http://activemq.apache.org/resource-adapter-properties.html

UseInboundSession
DurableTopicPrefetch
QueuePrefetch
InputStreamPrefetch
TopicPrefetch
InitialRedeliveryDelay
MaximumRedeliveries
RedeliveryBackOffMultiplier
RedeliveryUseExponentialBackOff

Modified:
    geronimo/server/branches/2.0/modules/geronimo-activemq-ra/src/main/rar/META-INF/ra.xml

Modified: geronimo/server/branches/2.0/modules/geronimo-activemq-ra/src/main/rar/META-INF/ra.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/modules/geronimo-activemq-ra/src/main/rar/META-INF/ra.xml?rev=582058&r1=582057&r2=582058&view=diff
==============================================================================
--- geronimo/server/branches/2.0/modules/geronimo-activemq-ra/src/main/rar/META-INF/ra.xml (original)
+++ geronimo/server/branches/2.0/modules/geronimo-activemq-ra/src/main/rar/META-INF/ra.xml Thu Oct  4 19:16:59 2007
@@ -288,6 +288,112 @@
             -->
         </config-property>
 
+        <config-property>
+            <description>
+                Boolean to configure if outbound connections should reuse the inbound connection's 
+                session for sending messages.
+                
+                Default: false
+            </description>
+            <config-property-name>UseInboundSession</config-property-name>
+            <config-property-type>java.lang.Boolean</config-property-type>
+            <config-property-value>false</config-property-value>
+        </config-property>
+
+        <config-property>
+            <description>
+                The maximum number of messages sent to a consumer on a durable topic until 
+                acknowledgments are received.
+                
+                Default: 100
+            </description>
+            <config-property-name>DurableTopicPrefetch</config-property-name>
+            <config-property-type>java.lang.Integer</config-property-type>
+            <config-property-value>100</config-property-value>
+        </config-property>
+
+        <config-property>
+            <description>
+                The maximum number of messages sent to a consumer on a queue until 
+                acknowledgments are received.
+                
+                Default: 1000
+            </description>
+            <config-property-name>QueuePrefetch</config-property-name>
+            <config-property-type>java.lang.Integer</config-property-type>
+            <config-property-value>1000</config-property-value>
+        </config-property>
+
+        <config-property>
+            <description>
+                The maximum number of messages sent to a consumer on a JMS stream
+                until acknowledgments are received.
+                
+                Default: 100
+            </description>
+            <config-property-name>InputStreamPrefetch</config-property-name>
+            <config-property-type>java.lang.Integer</config-property-type>
+            <config-property-value>100</config-property-value>
+        </config-property>
+
+        <config-property>
+            <description>
+                The maximum number of messages sent to a consumer on a non-durable
+                topic until acknowledgments are received.
+                
+                Default: 32766
+            </description>
+            <config-property-name>TopicPrefetch</config-property-name>
+            <config-property-type>java.lang.Integer</config-property-type>
+            <config-property-value>32766</config-property-value>
+        </config-property>
+
+        <config-property>
+            <description>
+                The delay before redeliveries start.
+                
+                Default: 1000
+            </description>
+            <config-property-name>InitialRedeliveryDelay</config-property-name>
+            <config-property-type>java.lang.Long</config-property-type>
+            <config-property-value>1000</config-property-value>
+        </config-property>
+
+        <config-property>
+            <description>
+                The maximum number of redeliveries or -1 for no maximum.
+            
+                Default: 5
+            </description>
+            <config-property-name>MaximumRedeliveries</config-property-name>
+            <config-property-type>java.lang.Integer</config-property-type>
+            <config-property-value>5</config-property-value>
+        </config-property>
+
+        <config-property>
+            <description>
+                The multiplier to use if exponential back off is enabled.
+                
+                Default: 5
+            </description>
+            <config-property-name>RedeliveryBackOffMultiplier</config-property-name>
+            <config-property-type>java.lang.Short</config-property-type>
+            <config-property-value>5</config-property-value>
+        </config-property>
+        
+        <config-property>
+            <description>
+                To enable exponential backoff.
+                 	 
+                Default: false 	 
+            </description>
+            <config-property-name>RedeliveryUseExponentialBackOff</config-property-name>
+            <config-property-type>java.lang.Boolean</config-property-type>
+            <config-property-value>false</config-property-value>
+        </config-property>
+
+ 
+
         <outbound-resourceadapter>
             <connection-definition>
                 <managedconnectionfactory-class>org.apache.activemq.ra.ActiveMQManagedConnectionFactory</managedconnectionfactory-class>