Thanks for the reply...have redelivery configured on the resource adapter
config snippets
<bean id="amqConnect"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL">
<value>tcp://localhost:61616</value>
</property>
<property name="optimizeAcknowledge" value="false"/>
</bean>
<bean id="jencks" class="org.jencks.JCAContainer" singleton="true">
<property name="bootstrapContext">
<bean class="org.jencks.factory.BootstrapContextFactoryBean">
<property name="threadPoolSize" value="25"/>
</bean>
</property>
<property name="resourceAdapter">
<bean id="activeMQResourceAdapter"
class="org.apache.activemq.ra.ActiveMQResourceAdapter" singleton="true">
<property name="serverUrl" value="tcp://localhost:61616"/>
<property name="connectionFactory"><ref
local="amqConnect"/></property>
<property
name="initialRedeliveryDelay"><value>30000</value></property>
<property
name="maximumRedeliveries"><value>3</value></property>
<property
name="redeliveryBackOffMultiplier"><value>2</value></property>
<property
name="redeliveryUseExponentialBackOff"><value>true</value></property>
<property
name="allPrefetchValues"><value>1</value></property>
</bean>
</property>
</bean>
<bean id="userTransaction"
class="org.jencks.factory.GeronimoTransactionManagerFactoryBean"/>
<bean id="inboundNewEmail" class="org.jencks.JCAConnector">
<property name="jcaContainer" ref="jencks" />
<property name="activationSpec">
<bean class="org.apache.activemq.ra.ActiveMQActivationSpec">
<property name="destination" value="mail.bulkInQ"/>
<property name="destinationType" value="javax.jms.Queue" />
<property name="maxSessions" value="5"/>
<property name="maxMessagesPerSessions" value="5"/>
</bean>
</property>
<property name="ref" value="newEmailSrvcImpl" />
<property name="transactionManager" ref="userTransaction"/>
</bean>
--
View this message in context:
http://www.nabble.com/-activemq-user---Redelivery---Jencks-t351500.html#a5053412
Sent from the ActiveMQ - User forum at Nabble.com.