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

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

"Fredrich" wrote : Hi gurus,



I have few questions :



1).How send the_message_sent_to_a_MDB_but_always_rollback(a.k.a Poison Message) to 
another USER DEFINED QUEUE OR TOPIC rather than DLQ queue? I would like to see the way 
you configure JBoss.







The file server/default/conf/standardjboss.xml allows to create a container 
configuration which will put the dead letters into a queue of your choice.  You'll 
have to then apply this configuration to a particular MDB or set of them.  Adrian 
discusses a way to create a "singleton" MDB, you can mirror what he did for 
configuring this.



"Fredrich" wrote : 

2).DLQ Handler always react when a message is always re-sent many times(Poison 
Message), but it's not clear how many times it is re-sent. Can we specify the re-sent 
time? Say after 2 times re-sent, the message is sent to another queue or topic. How to 
configure it?





It is set to 10.  See "standardjboss.xml":

                  10



You can also change this per message. 



Message m;

m.setIntProperty("JMS_JBOSS_REDELIVERY_LIMIT". 5)



for example.




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to