Question

5
Replies
219
Views
NarharDevS Member since 2016 14 posts
Intel
Posted: June 12, 2018
Last activity: November 19, 2018
Closed
Solved

Can we add retry feature in connection string

Below are the connection string the context.xml file :

auth="Container"

type="javax.sql.DataSource"

driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"

url="jdbc:sqlserver://abcd.com:3181;databaseName=**********;SelectMethod=cursor;SendStringParametersAsUnicode=false"

username="*********" password="*********"

maxTotal="100"

maxIdle="30"

maxWaitMillis="10000"

/>

Does maxWaitMillis mean connection wait time in ms which is 10seconds?

However I wish to know is there an retry attempt attributes with an interval option (after 10 secons)?

OR can we add any configuration to add the retry attempt after 10 seconds, if in case it fails?

Data Integration
Moderation Team has archived post
Share this page LinkedIn