You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by venu <go...@lls.org> on 2006/08/02 21:41:47 UTC
Re: [activemq-user] Re: Redelivery - Jencks
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.