continue; /* jump the ack */ } $pid = $objQueue['pid']; $sid = $objQueue['id_segment']; $jid = $objQueue['id_job']; _TimeStampMsg("--- (child {$my_pid}) : segment {$sid}-{$jid} found "); // _TimeStampMsg( "segment found is: " ); // _TimeStampMsg( $objQueue ); /** * * check for loop re-queuing */ if (isset($objQueue['reQueueNum']) && $objQueue['reQueueNum'] >= 100) { _TimeStampMsg("--- (child {$my_pid}) : Frame Re-queue max value reached, acknowledge and skip."); $amqHandlerSubscriber->incrementAnalyzedCount($pid, 0, 0); $amqHandlerSubscriber->decrementTotalForWaitingProjects($pid); $amqHandlerSubscriber->tryToCloseProject($pid, $my_pid); $amqHandlerSubscriber->ack($msg); continue; } elseif (isset($objQueue['reQueueNum'])) { _TimeStampMsg("--- (child {$my_pid}) : Frame re-queued {$objQueue['reQueueNum']} times."); } $amqHandlerSubscriber->initializeTMAnalysis($objQueue, $my_pid); _TimeStampMsg("--- (child {$my_pid}) : fetched data for segment {$sid}-{$jid}. PID is {$pid}"); //lock segment _TimeStampMsg("--- (child {$my_pid}) : segment {$sid}-{$jid} locked"); $source = $objQueue['source']; $target = $objQueue['target']; $raw_wc = $objQueue['raw_word_count']; $fast_match_type = $objQueue['match_type'];