[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Message Scheduling
clebert.suconic@jboss.com
do-not-reply at jboss.com
Thu Oct 2 11:02:25 EDT 2008
"ataylor" wrote : A new packet will be created, say SessionScheduledSendMessage
Can't we use just a Header Property on the message for that?
on your clientProducer method:
....
| message.setLongProperty("JBM-SCHEDULED-TIME", scheduledTime);
| ...
I wouldn't put this on PageMessage, as the StorageManager will have the same problem. Say... If you restart the server with a message scheduled to be delivered at 8:00 AM next morning, you need to reload that from the journal/database also.
I would or add a Property on the Message in such way it would be part of the encoding. Or a message Property, or a field being part of the encoding.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180058#4180058
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180058
More information about the jboss-dev-forums
mailing list