code: public void setInTTL(long ttl) throws JMSException {
      if (inTTL != ttl) {
        // Now verify that the value for TTL is valid.
        if (ttl < 0 || ttl > MfpConstants.MAX_TIME_TO_LIVE) {
          throw (JMSException) JmsErrorUtils.newThrowable(
             JMSException.class,
             "INVALID_VALUE_CWSIA0301",
             new Object[] {"timeToLive", ""+ttl},
             tc);
        }
        inTTL = ttl;
        recalcOutTTL();
      }
    }
docs: Set the ttl on the basis of the producer.
  @param pri