code: public SubscriptionQos setPublicationTtlMs(final long publicationTtlMs) {
          if (publicationTtlMs < MIN_PUBLICATION_TTL_MS) {
              this.publicationTtlMs = MIN_PUBLICATION_TTL_MS;
              logger.warn("publicationTtlMs < MIN_PUBLICATION_TTL. Using MIN_PUBLICATION_TTL: {}",
                          MIN_PUBLICATION_TTL_MS);
          } else if (publicationTtlMs > MAX_PUBLICATION_TTL_MS) {
              this.publicationTtlMs = MAX_PUBLICATION_TTL_MS;
              logger.warn("publicationTtlMs > MAX_PUBLICATION_TTL. Using MAX_PUBLICATION_TTL: {}",
                          MAX_PUBLICATION_TTL_MS);
          } else {
              this.publicationTtlMs = publicationTtlMs;
          }
  
          return this;
      }
docs: Set the time-to-live for notification messages.
  <br>
  Notification messages will be sent with this time-to-live. If a notification message can not be delivered within
  its time to live, it will be deleted from the system. This value is provided in milliseconds.
  
  @param publicationTtlMs
  publicationTtlMs time-to-live in milliseconds.<br>
  <br>
  <b>Minimum, Maximum and Default Values:</b>
  <ul>
  <li><b>Minimum</b> publicationTtlMs = {@value #MIN_PUBLICATION_TTL_MS}.
  Smaller values will be rounded up.
  <li><b>Maximum</b> publicationTtlMs = {@value #MAX_PUBLICATION_TTL_MS}.
  Larger values will be rounded down.
  <li><b>Default</b> publicationTtlMs = {@value #DEFAULT_PUBLICATION_TTL_MS}.
  </ul>
  @return the subscriptionQos (fluent interface)