if (cascClient.isSubscribed() == false) {
// cascaded client is not subscribed yet
this.subscribeCascadedSCWithInActiveCascadedClient(cascClient, msgToForward, callback, oti);
return;
}
CscSubscribeActiveCascClientCallback cascCallback = new CscSubscribeActiveCascClientCallback(cascClient,
callback.getRequest(), callback);
this.subscribeCascadedSCWithActiveCascadedClient(cascClient, msgToForward, cascCallback, oti);
} catch (Exception e) {
// release permit in case of an error
cascClient.getCascClientSemaphore().release();