if (this.cascClient.isDestroyed() == true) {
// cascaded client already destroyed ignore reply
return;
}
CascadedSC cascSC = this.cascClient.getCascadedSC();
if (cascSC.tryAcquirePermitOnCascClientSemaphore(cascClient, Constants.WAIT_FOR_PERMIT_IN_RECEIVE_PUBLICATION_MILLIS, this) == false) {
// could not get permit to process - response done inside method
return;
}
String sid = reply.getSessionId();
// try catch block to assure releasing permit in case if any error - very important!