{
{ ((JBossMessage)m).setPropertiesReadWrite(false);
   protected void configure(Message m, int deliveryMode, int priority,                            long timeToLive, Destination dest)         throws JMSException   {      m.setJMSDeliveryMode(deliveryMode);      if (isTimestampDisabled)      {         m.setJMSTimestamp(0l);      }      else      {         m.setJMSTimestamp(System.currentTimeMillis());      }            // TODO priority      if (timeToLive == 0)      {         m.setJMSExpiration(Long.MAX_VALUE);      }      else      {         m.setJMSExpiration(System.currentTimeMillis() + timeToLive);      }            m.setJMSDestination(dest);   }