Right. There is nothing that can be done after the delivery has failed. The
check to dead-letter the msg has to be made before the MDB has been
called and given the opportunity to enlist other resources in the tx.
----- Original Message -----
From: "Hiram Chirino" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 17, 2001 5:56 AM
Subject: Re: [JBoss-dev] Improving MDB behavior in the presence of delivery
failures
>
>
> >Problem is here:
> >
> >Is it not so, that the only way to ack the message (inspite of the fact
> >that it should be marked as roolback) to actually do a trans.commit()
> >here.
> >
> >But this is not possible, since that would also try to commit any faulty
> >bean, or am I wrong here.
> >
> >Or is it possible to delist the XAResource, start a new transaction and
> >make that commit?
> >
> >In that case we could probably do dead queue handling here.
> >
>
> ah.. I see the problem.. I guess an easier way to do dead letter
handling
> is to make sure jboss mq is marking its message resends and when the
Invoker
> sees that a message has been resent x times, then it bypasses the bean and
> places it on the dead letter queue.
>
> Regards,
> Hiram
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development