SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA
I have certain questions on MDB regarding
1) what will happen to the transaction when following things happen.
b) A BMT Message Bean sets the transaction for rollback
e) A CMT Mesaage Bean with Required sets transaction for rollback
I think that at that point the specs was talking about the setRollBackOnly() method of the MessageDrivenContext.
So my question is that in my above query would catagory e) come under this
... case of a BMT MDB if we call the method setRollBackOnly() the message is not redelivered( unlike the same case with CMT )
One question remains is what will happen to the message in cases a,c,d. Would it be redelivered?
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|