1 Reply Latest reply on Jan 3, 2007 6:42 AM by Tim Fox

    Scheduled Delivery like JBossMQ

    christian grobmeier Newbie


      i read that i can do this in old JBossMQ:

      TextMessage reply = session.createTextMessage(result);
      reply.setLongProperty("JMS_JBOSS_SCHEDULED_DELIVERY",System.currentTimeMillis() +10000);

      which would mean, that my this message will be delivered in 10 seconds.
      I tried this with JBoss Messaging, but this param is ignored. I found out, that it is an constant in SpyMessage.

      How can have this feature with JBossMessaging? I couldn't find similar constants in the API, so any hint is appreciated :-)