Posted By:
Philip_Hemptenmacher
Posted On:
Tuesday, April 25, 2006 03:53 AM
I would like to use transactions when connecting to a SwiftMQ-Topic.
The following code works with other JMS-implementations but not SwiftMQ.
topicSession = topicConnection.createTopicSession(false, Session.SESSION_TRANSACTED);
topicSubscriber = topicSession.createDurableSubscriber(topic, subscriberName);
When I call "topicSession.commit();" later on, an "javax.jms.IllegalStateException: Session is not transacted" is thrown.
Whats wrong? Does SwiftMQ topic implementation support transactions?
Thansk a lot for your help!
Cheers,
Philip