Could some one help me in using timetolive and jmsexpiration headers.

Iam still confused.

Iam using jboss 4.0.3 SP1

These are the steps i followed

1: I checked the standardjboss.xml and the TimeToLive is set to 0
   
    that means all my messages will never expire

    JMSExpiration = TTL + setJMSExpiration();

2: I have started the server with my local settings which is BST (British 
standard time)

3: I have background service for monitoring Q which uses Qbrowser to browse the 
messages and check the time diffrence of what time the messages are created.

Based in that, it try expire the messages (my sole understanding is that JMS 
SPECIFICATION DOESNOT ALLOW YOU TO PURGE THE MESSAGES. Correct me, if iam wrong)

3: Now i use SpyMessage (org.jboss.mq.) to set the JMSExpiration
   
   which i set it to System.currentTimeMillis() so that means i would expect to 
removed from the Q i.e expire the messages.

4: I can see the expiratin time has been changed to System.currentTimeMillis() 
but the message statys there.

WHY?

thanks



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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to