I have configured an MDB in JBOSS with SonicMQ.
when ever a message comes on queue , onMessage is ionvoked and I can process the message.
I ahve deployed MDB on jboss and at runtime I delete the queue to which MDB is attached, and recreate it after deletion.
On having this scenario , no messages come on onMessage of mdb instead all the messages are stuck in the queue.
What has to be done to ensure the reliablity on recreation of queue at runtime?
Foreg, if suppose jms server is restarted then we have the option of true for tag to ensure reliability.
Why delete the queue at runtime?