I am running JBoss 4.0.2 on Linux using Oracle as my JMS Persistence layer.

I use JMS to asynchronously send email alerts from my application.  In some 
cases, the SMTP server is unavailable to send out the message and JMS properly 
puts them in QUEUE.DLQ.

My question is this:

Once my SMTP server is available again, how do I can I tell my MDB to go and 
reprocessing the messages?

I have tried updating the table and changing the QUEUE from QUEUE.DLQ to 
QUEUE.emailSenderQueue (this regular queue name for sending the messages).   
After that, the MDB will process NEW messages within that queue, but not the 
ones I updates from QUEUE.DLQ.  To make it more interesting, if I restart Jboss 
then all messages get processed upon startup, even then ones I updated from 
QUEUE.DLQ.

Clear as mud?

Is there a particular Bean I can restart in the JMX console that will emulate 
the application restart, but only for that MDB?

Thanks in advance!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896086#3896086

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896086


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to