This resource resumes a suspended data source. When you resume a data source, WebLogic Server marks the data source as enabled and allows applications to reserve connections from the data source. If you suspended the data source (not forcibly suspended), all connections are preserved exactly as they were before the data source was suspended. Clients that had reserved a connection before the data source was suspended can continue exactly where they left off.
NOTE: You cannot resume a data source that did not start correctly, for example, if the database server is unavailable.
The resource supports the following methods:
The POST method on this resource resumes individual data sources that are in the Suspended
state.
This method returns one of the Standard HTTP Status Codes.
This example uses the POST method to resume a suspended data source.
Example Request
curl -v \ --user username:password \ -H X-Requested-By:MyClient \ -H Accept:application/json \ -X POST http://localhost:7001/management/wls/latest/datasources/id/TestDataSource/resume
Example Response
HTTP/1.1 200 OK Response Body: {"messages": [{ "message": "Data Source 'TestDataSource' was successfully resumed.", "severity": "SUCCESS" }]}