users@glassfish.java.net

Re: how can i setup glassfish to deal with "poison message"

From: Steve Essery <Steve.Essery_at_Sun.COM>
Date: Fri, 16 Jan 2009 12:44:05 +0000

Hi,

You should be able to control this with the activation-config in the
sun-ejb-jar.xml file. There are the endpointExceptionRedeliveryAttempts
and the sendUndeliverableMsgsToDMQ properties:

http://docs.sun.com/app/docs/doc/820-6740/aeoon?a=view

Disclaimer: I've not tried this myself.

Regards,
Steve

glassfish_at_javadesktop.org wrote:
> Can anybody help me?
> my message listener throw a exception,
> and glassfish go into dead loop of throwing exception, unless i disable the MDB.
> [Message sent by forum member 'seeglow' (seeglow)]
>
> http://forums.java.net/jive/thread.jspa?messageID=326369
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>