With JBM 1.4 it is possible to specify the earliest time that a message will be delivered. The user manual explains how to do this, but here you are anyway.
| long now = System.currentTimeMillis(); | | Message msg = sess.createMessage(); | | msg.setLongProperty(JBossMessage.JMS_JBOSS_SCHEDULED_DELIVERY_PROP_NAME, | now + 1000 * 60 * 60 * 2); | | prod.send(msg); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171303#4171303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171303 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
