code: protected boolean isEqualEnvelope(Envelope a, Envelope b) {
          return a.getMessage().getClass() == b.getMessage().getClass();
      }
docs: Override this if you need to change filtering for scheduleOnce behaviour.
  By default it check equality only of class names.
  
  @param a
  @param b
  @return is equal