-
1. Re: Message scheduling how? Step by step.
stephanenicoll Oct 2, 2003 6:54 AM (in response to nic7834)There's always a workaround when one search a little bit.
Have you checked the changelog and the CVS? I am pretty sure the information is there
In the latter case, the testsuite should definitely contains tests of this new feature (and you have your code snippet in that case)
Let us know if you find something.
Regards,
Stephane -
2. Re: Message scheduling how? Step by step.
adrian.brock Oct 2, 2003 12:24 PM (in response to nic7834)You simple set the scheduled delivery property to the time
after which you want it delivered.
static long ONE_HOUR_MILLIS = 60 * 60 * 1000;
long now = System.currentTimeMillis();
mesasge.setLongProperty("JMS_JBOSS_SCHEDULED_DELIVERY", now + ONE_HOUR_MILLIS);
NOTE: The clocks of the machines need to be "synchronized" to
avoid suprises. By synchronized I mean the calculation is done in CUT (system time + timeZoneOffset)
Regards,
Adrian -
3. Re: Message scheduling how? Step by step.
nic7834 Oct 5, 2003 1:59 PM (in response to nic7834)Thanks for the reply guys,
I will give it a go when I get a chance to try it out on 3.2.2RC4. It seems some changes have been made to the way primary keys are auto generated so something is broken.
Nic -
4. Re: Message scheduling how? Step by step.
nic7834 Oct 5, 2003 2:01 PM (in response to nic7834)... in my application.
Nic