tags:

views:

18

answers:

1

"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"

how to set it on JBoss (5.1)? thanks

+1  A: 

You appear to be quoting a passage from the Oracle AQ JMS manual. If you'd quoted a couple of more sentences, that would have been clear...

Delay for a message is specified as message property (JMS_OracleDelay). This property is not specified in the JMS standard. It is an AQ extension to JMS message properties.

If JBoss 5.1 has a similar proprietary extension, read their docs on how to use it. If not, you're out of luck.

BEA's (now Oracle's) WLS JMS has a similar feature (added in version 7?). Maybe it's a popular thing for vendors to add. Maybe you'll get lucky w/ JBoss...

John M
yes, JBoss 5.1 has JMS_JBOSS_SCHEDULED_DELIVERY_PROP_NAME property, thank you
QuanNH