135247: 1-phase com­mit: treat XAER_NOTA as Roll­back­Ex­cep­tion

Dur­ing 1-phase com­mit, some JMS bro­kers (Ac­tiveMQ and oth­er?) some­times fail to recog­nise the Xid be­ing com­mit­ted. In­stead of rais­ing a need­less heuris­tic (haz­ard) ex­cep­tion, this is now treat­ed as in­ter­nal time­out/roll­back in the re­source, and mere­ly yields a Roll­back­Ex­cep­tion in­stead.

This is im­por­tant when used with Spring's mes­sage lis­ten­er con­tain­ers be­cause Spring will at­tempt to com­mit if there is no mes­sage on the queue, lead­ing to a 1-phase com­mit where this can hap­pen.

135035: Ex­tend XARe­sourceTrans­ac­tion.toString() to show ex­tra de­tails

To im­prove the in­ter­pre­ta­tion of the out­put of our LogUtil, it helps if ex­tra de­tails are shown - so the toString() method now re­turns out­put like this:

XARe­sourceTrans­ac­tion: 7075626C697368657230303030313030303031:7075626C69736865723131 [IN_DOUBT in re­source amq1]

Avail­able to cus­tomers only. Want to be­come a cus­tomer?

Send me a quote
RSS

Com­ments

Add a com­ment

Cor­po­rate In­for­ma­tion

Atomikos Cor­po­rate Head­quar­ters
Hove­niersstraat, 39/1, 2800
Meche­len, Bel­gium

Con­tact Us

Copy­right 2026 Atomikos BVBA | Our Pri­va­cy Pol­i­cy
By us­ing this site you agree to our cook­ies. More info. That's Fine