On  7 Sep, Jason Dillon wrote:
> Has there been any work on JBossMQ message redelivery recently?
> 
> I have an MDB, which has all of its methods set to NotSupported, using a
> custom container-configuration, which only allows one message to be
> processed at a time (jboss dd attached).
> 
> It processes a message, which could take longer than the TX timeout, so I it
> can not run inside of a TX.
> 
> I am still getting warnings:
> 
>   WARN  org.jboss.tm.TxCapsule [Thread-8] () - Transaction XidImpl
>   [FormatId=257, GlobalId=eng-ecr4a//0, BranchQual=] timed out.
>   status=STATUS_ACTIVE
> 
> For each warning the message being processes seems to reapear back into the
> queue, though Message.getJMSRedelivered() will never return true.
> 
> This is running in JBoss pre-3.0, which was built very shortly before the RH
> bit were commited, so it may be possible that this have been fixed in newer
> versions?  I did not seen any change logs, specific to this, so I think that
> it might be a bug in HEAD too.
> 
> So, the first question is why does an MDB with NotSupported cause TX
> timeouts?

Hiram is the one who did the transaction parts of the MDB, but I would
geuss this is what is going on: An MDB is ALWAYS transacted (the receipt
that is), the flags only determins under what TX context the bean is
invoked. This mean there will allways be a transaction going on under
the hood.

> 
> Second, why does a message get redelivered to my MDB, but does not have its
> getJMSRedelivered() set to true?

That was fixed in JBossMQ during the time I implemented the Dead Letter
Queue handler, which was commited after the RH stuff. There is a change
note about it.

//Peter
> 
> --jason

-- 
------------------------------------------------------------
Peter Antman             Technology in Media, Box 34105 100 26 Stockholm
Systems Architect        WWW: http://www.tim.se
Email: [EMAIL PROTECTED]        WWW: http://www.backsource.org
Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942 
------------------------------------------------------------


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to