Re: javax.jms.JMSException: Invalid acknowledgement after rollback of TopicSession

2008-03-03 Thread neilwilk
Hi Again, all Solved my own problem, but I've left this in just in case others make the same mistake! I should have been using a durable subscriber. As soon as I corrected the code to the following, ActiveMQ stopped generating the exceptions: package neil.transactions; import javax.jms.Connec

javax.jms.JMSException: Invalid acknowledgement after rollback of TopicSession

2008-03-03 Thread neilwilk
Hi All I'm experimenting with transactions. They work fine for QueueSessions, but whenever I roll back a transaction on a TopicSession, I get the following exception: ERROR Service- Async error occurred: javax.jms.JMSException: Invalid acknowledgment: MessageAck {command