Hi John,
I've been thinking of adding a feature like this to JMSJCA. The feature would allow you to specify a selector with a time dependent variable. For example, a selector could be something like this.
doNotProcessBefore > ${now}
The ${now} variable would be updated periodically, e.g. every few seconds, or in your case, every hour.
To use this feature, you would send messages to a queue with a message property set to the target time (e.g. a property called doNotProcessBefore).
What you could do with this feature for example, is schedule a transmission to a particular trading partner in a B2B scenario. Combined with batching, this would give you a powerful mechanism to do scheduling without the need to use timer beans and a database for storage.
Would this feature work for you?
Frank
[Message sent by forum member 'fkieviet' (frank.kieviet_at_sun.com)]
http://forums.java.net/jive/thread.jspa?messageID=367064