There are two 2 message driven beans(mdb).I have mdb1 getting a message and storing it in a database. After that, it sends the message to mdb2.Now mdb2 receives the message and then preforms a rollback by calling the MessageDrivenContext.setRollbackOnly()

Will the data stored in mdb1 rollback? Does the transaction context get transferred across a jms queue?

I'm asking this question, because I don't have a database that supports XA Resources and can't test it.