A Mule application uses the Database connector. What condition can the Mule application automatically adjust to or recover from without needing to restart or redeploy the Mule application?
A.
One of the stored procedures being called by the Mule application has been renamed
B.
The database server has been updated and hence the database driver library/JAR needs a minor version upgrade
C.
The database server was unavailable for four hours due to a major outage but is now fully operational again
D.
The credentials for accessing the database have been updated and the previous credentials are no longer valid
The Database connector’s connection pool includes a reconnection strategy: if the database host becomes unreachable (network or server outage) the connector keeps retrying at configured intervals. When the database comes back online—even hours later—the connector automatically obtains a new connection and processing continues. No redeploy or restart is required.
For the other situations a manual change and redeploy/restart are needed:
A – stored-procedure renamed: SQL statements compiled in the flow will keep failing until you update the query.
B – driver JAR upgrade: the new library must be packaged and the app redeployed.
D – credential change: you must update the connector configuration (properties/secure-properties) and restart the runtime for new credentials to take effect.
Hence only scenario C is automatically recoverable.
no matter where the DB credentials are stored (property file, runtime manager properties, hardcoded in connector) it is necessary a restart or deploy of the mule app.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
edogwest
1Â month, 2Â weeks agoawsuser1
1Â year, 5Â months agomadgeezer
1Â year, 10Â months agoMuleK
2Â years agoalevita
2Â years, 4Â months agogilofernandes
7Â months, 1Â week agoGrump
2Â years, 5Â months agoPavan_Nagineni
2Â years, 9Â months agoawsExpert007
2Â years, 11Â months ago