I am using persistent queues that store the messages on the file system. Currently I use queues as part of a print server. My problem is that the queues just keep on getting bigger and bigger. JBoss do not delete the old messages that have already expired. This is a big problem for us because each time JBoss starts up and there is about a Gig of message queue then it takes about 700 MB of memmory and take's four minutes to start up. I have set expiry times on the messages and I know that I did it correctly. Can anybody please tell me why JBoss is not deleting the expired messages? Is it an configuration thing or what?