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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...