0 Replies Latest reply on Mar 1, 2013 12:20 AM by rosansamuel

    JBoss Messaging Message setTimeToLive();

    rosansamuel Newbie

      Dear All,


      i am having the MDB client which Place the message into a queue, which set by timeToLive on that JMS Producer. But typically this is working fine in jboss 4.2.3 (Jboss MQ). But not woriking in Jboss 5.1.0 (Jboss Messaging). I am little puzzled and digged it. i couldn't find nothing. The problem is after some amount of message expiry pass down, the Messages not get deleted from queue. When i use JMX console i could see the ,jboss message is persistent. i didn't configured any persistence logic here. default jboss 5.1.0 bundled with hypersonic db used as a persistence storage.

      Please anyone help me to resolve , how could i configure without any persistence logic ? Even it could be the chance it has stored in DB . How jboss 4.2.3GA and jboss 5.1.0 GA JMX Console is different? because in jboss 4.2.3 GA , in JMX Console when i do list all messages shown empty.



      Code :