<BUG>logger.log(LogLevel.INFO, "ATTEMPT_TO_RESEND_MESSAGE", new Object[] { count });</BUG><CONTEXT>boolean res = false;int count = 0;do {try {if(count > 0) {<extra_id_0>Thread.sleep(messageRetryDelay);}synchronized (getSession()) {</CONTEXT>
logger.log(LogLevel.INFO, "ATTEMPT_TO_RESEND_MESSAGE", new Object[] { count }); //$NON-NLS-1$