Using JBoss 3.0.7, I have setup JBossMQ so that it uses a postgres DB as Persistence Manager.
I put some messages in a queue where there is no consumer. Calling select count(*) from jms_messages returns me somehting like 945
I stop JBoss, the SQL query still returns 945
I start JBoss, the SQL query returns 0 and my messages are gone. Does someone know why this happends?
The client is a remote J2EE client that uses a transactional session. Using a non transactional session solved the problem.
Is there any restriction when starting a TX JMS sesion (Maybe the ConnectionFactory?)
Any help would be greatly appreciated!