Hello there! We've simulated a situation (problaby won't happen in our production, but our customer asked us to).
We have inserted 10.000 messages on the DLQ channel. There's no listener for this channel. With this small value, JBoss startup time is increased by a 5x factor.
The thing that makes me worry is that it could be any destination (let's suppose the system that listens for messages shutsdown for a few hours, we could have this amount of messages awaiting to be processed)
My question is, is this a normal behaviour? Is there a way to speed up the startup time when many messages are waiting on a queue?
The startup time depends entirely on three variables
a) The number of messages in the queues
b) The average size of the messages
c) The database you are using.
Compare this to JBM 2.0 which doesn't by default use a relational database - startup time is very quick.