ACTIVEMQ-CPP. Topic consumer after connection interrupt and restore

2010-12-03 Thread Oscar Pernas
Hi all, Sorry if I'am missunderstanding something but I have a activemq-cpp topic consumer. I am trying to test connection interrupt and restores, and how messages are sent to a durable topic. To do this, I've put a breakpoint in my code after connect to broker. Some time later, I've press to

Re: ACTIVEMQ-CPP. Topic consumer after connection interrupt and restore

2010-12-03 Thread Timothy Bish
It sounds like you've run into a bug. We'd need to build a unit test case to try and reproduce it. There's an easier way to break the connection than using a breakpoints. You can get the underlying transport from the connection instance by casting it to an ActiveMQConnection and then calling