code: public void setMaxRetriesBeforeRequeue(int maxRetriesBeforeRequeue)
      {
          this.maxRetriesBeforeRequeue = maxRetriesBeforeRequeue;
          this.transactionStyle = new TransactionStyle(MithraManagerProvider.getMithraManager().getTransactionTimeout(), maxRetriesBeforeRequeue, this.retryOnTimeout);
      }
docs: default value is 3.
  @param maxRetriesBeforeRequeue the number of retries before the particular chunk of work is requeued at the end
  of the queue