Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Setting up a retry policy
- <spring:beans>
- <spring:bean id="threadingPolicyTemplate"
- class="org.mule.retry.async.AsynchronousRetryTemplate">
- <spring:constructor-arg index="0">
- <spring:bean id="foreverRetryPolicyTemplate"
- class="com.Component.ChatConnectionRetryPolicyTemplate">
- <spring:property name="sleepTime" value="${connector.retryInterval}" />
- </spring:bean>
- </spring:constructor-arg>
- </spring:bean>
- </spring:beans>
- <jdbc:connector name="jdbcConnector" dataSource-ref="SQLServerjdbcDataSource">
- <spring:property name="retryPolicyTemplate" ref="threadingPolicyTemplate"/>
- <jdbc:query key="PollDB"
- value="select * from ofMessageArchive where ID > #[payload:]" />
- </jdbc:connector>
Add Comment
Please, Sign In to add comment