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
3Â days, 12Â hours agoawsuser1
1Â year, 3Â months agomadgeezer
1Â year, 9Â months agoMuleK
1Â year, 11Â months agoalevita
2Â years, 2Â months agogilofernandes
5Â months, 3Â weeks agoGrump
2Â years, 4Â months agoPavan_Nagineni
2Â years, 8Â months agoawsExpert007
2Â years, 10Â months ago