im using jms in Jboss 5.1 & dont know how to set delay time of message.
"The delay represents a time interval after which the message becomes available to the Message Consumer. A message specified with a delay is in a waiting state until the delay expires and the message becomes available"
See section 6.7.2.1.11 for the JBossMessage.JMS_JBOSS_SCHEDULED_DELIVERY_PROP_NAME property here http://docs.jboss.org/jbossmessaging/docs/userguide-1.4.1.Beta1/html_single/index.html