activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From venu <gogine...@lls.org>
Subject Re: [activemq-user] Re: Redelivery - Jencks
Date Wed, 02 Aug 2006 19:41:47 GMT

Hi,

I am also having the same problem with redelivery options in Jencks. I am
using ActiveMQ 4.0.1 and Jencks 1.2. Here is the snippet from my config.
file. Am i missing anything?

<bean id="jencks" class="org.jencks.JCAContainer">     
  	<property name="bootstrapContext">  
		<bean class="org.jencks.factory.BootstrapContextFactoryBean">
		    <property name="threadPoolSize" value="@@threadpool.size@@"/>
		</bean>
        </property>        
  	<property name="resourceAdapter">
   	        <ref local="jmsResourceAdapter"/>
        </property>       
   </bean>   

<bean id="connector" class="org.jencks.JCAConnector">
        <property name="jcaContainer" ref="jencks"/>  
   	<property name="activationSpec">  
		<bean class="org.apache.activemq.ra.ActiveMQActivationSpec">
		   <property name="destination" value="EmailQueue"/>
		   <property name="destinationType" value="javax.jms.Queue"/>
		</bean>
        </property>
        <property name="ref" value="EmailConsumer"/>        
   </bean>
<bean id="jmsResourceAdapter"
class="org.apache.activemq.ra.ActiveMQResourceAdapter">
       <property name="serverUrl">
         <value>@@transport.url@@</value>
       </property>       
       <property name="initialRedeliveryDelay">
         <value>30000</value>
       </property>
       <property name="maximumRedeliveries">
         <value>10</value>
       </property>   
       <property name="redeliveryUseExponentialBackOff">
         <value>true</value>
       </property>
       <property name="redeliveryBackOffMultiplier">
         <value>10</value>
       </property>                
   </bean>   
  <bean id="EmailConsumer" class="../../../EmailConsumer">
    <property name="emailProperties">
   	    <ref bean="emailProperties"/>
   	</property>   	
   </bean>	
-- 
View this message in context: http://www.nabble.com/-activemq-user---Redelivery---Jencks-tf351500.html#a5620892
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message