This content has been marked as final.
Show 1 reply
-
1. Re: How to make a message sit on the queue for 10 seconds?
clebert.suconic Jun 9, 2010 11:39 AM (in response to swapnonil.mukherjee)I just tried here and it works.
I'm not using the ResourceAdapter here though. Can you try a quick test using the regular ConnectionFactory (not java:/JmsXA) and see if it works.
Also, I would use the constant defined just to be sure you don't have a typo in your code. I don't think that would be the cause of your failure.. but double check that one also:
message.setLongProperty(org.hornetq.api.core.Message.HDR_SCHEDULED_DELIVERY_TIME.toString(), time);