摘要 |
Illustrative embodiments provide a computer implemented method, data processing system, and computer program product for recovering resource connections using persistent subscriptions. In one illustrative embodiment, the method comprises subscribing to an event of a predefined resource to create a persistent subscription, wherein upon receiving notification of the event indicating the predefined resource is unavailable, and responsive to receiving the notification, reconnecting to the predefined resource. The method further comprises creating a new listener for receiving event notifications from the predefined resource, obtaining subscription information related to the predefined resource from the persistent subscription, and re-subscribing to the event of the predefined resource.
|