Wednesday, March 21, 2001 01:14 PM
I'd like to use a single TopicConnection and create two TopicSessions. Each TopicSession creates a TopicSubscriber and sets a MessageListener (shared MessageListener).
Is this proper JMS usage? When I try to share the connection across two Topics, after thirty or so messages, the JMS Thread that was receiving messages gets GC'd. When I create a separate Connection for each Session/Topic/Subscriber, I can receive messages just fine.