I have a Topic with Durable Subscription .
The code from my session bean's helper method publishes a message to the topic . I have configured Oracle as my persistance for the messages.
My doubt :
I am publishing the messages in my session beans transaction . If the tranaction rollsback , will the messages be still delivered to the Listener?
I create a topic session as follows :
tSession = tConnection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);