[jboss-user] [JBoss Messaging] - Scheduled Delivery like JBossMQ

Cy23 do-not-reply at jboss.com
Fri Dec 8 07:11:46 EST 2006


Hi,

i read that i can do this in old JBossMQ:


  | TextMessage reply = session.createTextMessage(result);
  | reply.setLongProperty("JMS_JBOSS_SCHEDULED_DELIVERY",System.currentTimeMillis() +10000);
  | 

which would mean, that my this message will be delivered in 10 seconds.
I tried this with JBoss Messaging, but this param is ignored. I found out, that it  is an constant in SpyMessage.

How can have this feature with JBossMessaging? I couldn't find similar constants in the API, so any hint is appreciated :-)

Thanks,
Chris

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992225#3992225

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992225



More information about the jboss-user mailing list