Use JBoss specific scheduled delivery
|
| aConnection = rQueueFactory.createQueueConnection(sQueueUser,
sQueuePassword);
| aSession =
aConnection.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
| aSender = aSession.createSender(rQueue);
|
| TextMessage aMessage = aSession.createTextMessage();
|
|
| aMessage.setLongProperty("JMS_JBOSS_SCHEDULED_DELIVERY",
aTransmissionNext.getTime());
|
| aSender.send( aMessage, DeliveryMode.PERSISTENT, ...);
|
|
Regards
Ulf
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905429#3905429
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905429
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user