cancel
Showing results for 
Search instead for 
Did you mean: 

JMS Redelivery on topic

Former Member
0 Kudos

Hi.

I have a topic with 3 mdbs that lift the messages of it and process.

I read in the JMS FAQ that topic delivery attempts are not limited and continue until the process has finished.

However, when I cause an error in my mdb (NullPointerException), it does not

a) rollback the XA transaction on the db

b) roll the message back on the queue.

Any ideas gurus?

Regards,

Andrew

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Andrew,

Which transaction do you mean? Only the transaction in which the message is delivered should be rolled back. Then the message will be delivered again.

How do you start the transaction to the DB?

Cheers,

Vesselin

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi. this was related to me using an XA connection factory from a different JNDI location.

All sorted now.