activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From subrash <subr...@yahoo.com>
Subject activemq-cpp durable subscriptions
Date Thu, 23 Oct 2008 16:19:15 GMT

does anybody hav an example of a simple durable subscription  using
activemq-cpp. it does not seem to work correctly in my case . It seems to
work fine if i use a JAVA subscriber but does not work with activem-cpp
subscriber. 
#  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 )
But the above happened if the SUBSCRIBER was a JAVA SUBSCRIBER
Attached is my example for the following 

activemqcpp Publisher : SimplePublisher.C and Publisher.C
activemqcpp Subscriber: SimpleAsyncConsumer.C amd AsynscConsumer.C 
JAVA Subscriber.java  http://www.nabble.com/file/p20134409/SimpleProducer.C
SimpleProducer.C  http://www.nabble.com/file/p20134409/SimpleAsyncConsumer.C
SimpleAsyncConsumer.C  http://www.nabble.com/file/p20134409/AsyncConsumer.C
AsyncConsumer.C  http://www.nabble.com/file/p20134409/Producer.C Producer.C 
http://www.nabble.com/file/p20134409/Subscriber.java Subscriber.java 
-- 
View this message in context: http://www.nabble.com/activemq-cpp-durable-subscriptions-tp20134409p20134409.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message