[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Header key for scheduled message delivery should be defined

gaohoward do-not-reply at jboss.com
Wed Apr 8 12:03:20 EDT 2009


To set a scheduled message, one has to use the key:

message.setLongProperty(MessageImpl.HDR_SCHEDULED_DELIVERY_TIME.toString(), time);

The header HDR_SCHEDULED_DELIVERY_TIME is defined on MessageImpl, which should be an internal class. It would be better to define it on JBossMessage?

Also the header is defined as SimpleString, which is also an internal object. It should be a plain String object.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224418#4224418

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224418



More information about the jboss-dev-forums mailing list