HI, I am writing a dll which caters requests from a topic. There is a consumer, listening on a topic. When a new requests come another function is called and the response is served. But, once the control leaves the dll and go back to the application, consumer dies off.I want the consumer to keep on listening on the topic and storing the messages in local buffer/memory.So, that when application makes another request, all previous data from memory could also be pushed.
How this could be achieved.Should I run a parallel infinite thread or should use something like durable consumer? Please let me know your inputs. Thanks, Manu -- View this message in context: http://activemq.2283324.n4.nabble.com/Consumer-on-a-topic-dies-after-ti-leaves-the-current-thread-tp3463503p3463503.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.