[rabbitmq-discuss] RetryTemplate I need 3 retries

Srinath Sridharan -X (srinatsr - ZENSAR TECHNOLOGIES INC at Cisco) srinatsr at cisco.com
Mon May 19 22:47:24 BST 2014


Hello All,

How to set retry for 3 times alone with this configuration??


<bean id="retryTemplate" class="org.springframework.retry.support.RetryTemplate">
        <property name="backOffPolicy">
               <bean class="org.springframework.retry.backoff.ExponentialBackOffPolicy">
                       <property name="initialInterval" value="500" />
                       <property name="multiplier" value="10.0" />
                       <property name="maxInterval" value="10000" />
               </bean>
        </property>
</bean>

Regards ...*
Srinath

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140519/38f8b8db/attachment.html>


More information about the rabbitmq-discuss mailing list