Re: Programmatically reading ActiveMQ.Advisory.xyz topics

2014-12-29 Thread mclaudio76
Hi tbain98, thanks a lot for your reply. So, the only way to read those advisory messages is to create and connect with a subscriber; that's ok for me. I've noticed that if I restart the broker (and I'm going to perform such operation at every sunday midnight) Advisory topics & queues are automati

Re: Programmatically reading ActiveMQ.Advisory.xyz topics

2014-12-29 Thread Tim Bain
Create (and connect) a durable subscriber. Then you can disconnect it whenever you want, and when you reconnect it will get all the messages it missed while it was disconnected. That will let you get all the messages, without having to be connected the whole time. A word of warning: if you have

Programmatically reading ActiveMQ.Advisory.xyz topics

2014-12-28 Thread mclaudio76
Hi there, I just want to read ActiveMQ.Advisory.xyz topics programmatically and try to log them on a database for further analysis. The problem is that I don't want to create a listener so that I can receive and log messages as they arrive; I want just connect to the topic at a given moment and re