Absolutley not!
Read the JMS Spec, throwing a RuntimeException results in
completely nonportable behaviour.
It also does not solve his problem, he wants to stop delivery
not throw away the MDB instance.
On Wed, 2004-05-26 at 19:25, Mateus GonÃalves dos Santos wrote:
> throw new RuntimeException
throw new RuntimeException
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of sgelberg
Sent: terça-feira, 25 de maio de 2004 21:55
To: [EMAIL PROTECTED]
Subject: [JBoss-user] [Messaging, JMS & JBossMQ] - Re: destroying a MDB
after instantiation
Reason I want t