Re: Add qmf shutdown command to the broker [was Re: QPID C++ - Dynamically Managing Broker]

2014-09-24 Thread Spencer.Doak
Hi, Well as you know, I'm definitely in support of this addition. I do not know how the exact details about the QMF listener, but I would imagine it could receive the shutdown message and do something like "std::exit(1);". Of course there might be some necessary clean-up before calling the exit c

Re: QPID C++ - Dynamically Managing Broker

2014-09-19 Thread Spencer.Doak
Hey Gordon, I retract my previous statement saying this did not work. Just now I downloaded, compiled and ran a fresh copy of qmf_ctrl.cpp. Now it seems to be functioning perfectly. I'm not sure why it wasn't working before. I must have accidently modified the first copy of qmf_ctrl when reading t

Re: QPID C++ - Dynamically Managing Broker

2014-09-19 Thread Spencer.Doak
Hey Gordon, Sorry to be a bother, but I'm having two problems using the code you attached. The code is great, but when I go to create a queue, the queue is improperly named. Rather than using the name which is supplied, the queue created seems to be named using a UUID. The receiver also does not r

Re: QPID C++ - Dynamically Managing Broker

2014-09-18 Thread Spencer.Doak
Hey Gordon, Thank you very much! That should give me a great start on this task. As for the 'shutdown' command, that's actually exactly what I was thinking too. I'm thinking about running a receiver process on the broker machine. When it receives a message that says "shutdown" from an authenticat

QPID C++ - Dynamically Managing Broker

2014-09-17 Thread Spencer.Doak
Hello, I'm faced with a bit of an issue. For an application I'm working on, I'm in need of several abilities: 1. Create, destroy, and clear queues on an exchange. 2. Create and destroy exchanges on a broker. 3. Fetch a list of all existing connections on a broker. 4. If possible, send a managemen