activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From subrash <subr...@yahoo.com>
Subject Example Durable Subscription activemq-cpp
Date Tue, 19 Aug 2008 19:23:55 GMT

Iam new to activemq-cpp and active-mq . iam trying out the durable
subscription feature. I have a publisher and a subscriber 
and it did not work.  I expected the following to happen 
#  a Subscriber Starts and the establishes a durable connection with a topic
# A Publisher publishes to topic
# The Subscribes recieves those messages
# The Subscribes Closes the session
# The Publisher  Publishese nxt batch  to topic
# The Subscriber Starts up again
# Subscribes reestablishes Durable Connection
# Subscribes Recieves all the messages  ( This did not happen )

I have basicallly modified the example code for implementing this 

if anybody can help me it will be great 

there are 4 files uploaded with this message two are just the main programs
the other two are the actual classes 

http://www.nabble.com/file/p19056934/AsyncConsumer.C AsyncConsumer.C 
http://www.nabble.com/file/p19056934/Producer.C Producer.C 
http://www.nabble.com/file/p19056934/SimpleAsyncConsumer.C
SimpleAsyncConsumer.C  http://www.nabble.com/file/p19056934/SimpleProducer.C
SimpleProducer.C 

-- 
View this message in context: http://www.nabble.com/Example-Durable-Subscription-activemq-cpp-tp19056934p19056934.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message