users@glassfish.java.net

Re: How to make mdb's consume messages after the jms destination is re-created?

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Wed, 15 Dec 2010 09:45:23 +0000

On 14/12/2010 09:43, saikiranp wrote:
>
> Hi,
> I have deployed an application with MDB's that listens to a queue.
>
> Once the server is started, i destroyed the queue and re-created it again.
> after that if i send any messages to the queue, JMS queue doesn't send these
> messages to the MDBs.
>
> I could see that the messages are added to the queue properly. but borker
> is not trying to send it to MDBs.
>
> how can i make MDBs consume the messages even after re-creation of the
> queue without re-starting the sailfin?

You could try using asadmin disable followed by asadmin enable to re-initialise the MDB application. You can also do
this via the admin console.

Nigel