4 Replies Latest reply on Mar 15, 2005 1:47 PM by Dave Morris

    Bad JMS Object stuck in queue

    Dave Morris Newbie

      We are using JBoss 3.2.2 in a production environment on a Dell server using MS-SQL as the JMS DB. The problem we run across occasionally is that a 'bad' JMS message object gets stuck in the queue. We notice that we have a 'bad' JMS object because the queue size starts building up. To fix the issue, we have to stop JBoss. Go into MS-SQL, clear the top message (or messages) in JMS_MESSAGES table for a particular queue and restart JBoss. The issue is 'fixed' when we notice that the JMS objects in the queue are being consumed.

      The question is:

      Is there an easier way to delete a 'bad' message object from the JBoss queue without having to do the above steps?


      Thanks!