Re: python QMF synchronization

2012-03-22 Thread Fraser Adams
std::cerr<< "Error: "<< response.getContent()<< std::endl; else std::cerr<< "Invalid response received!" << std::endl; else

Re: python QMF synchronization

2012-03-21 Thread MartiN Beneš
Invalid response received, unexpected opcode: > %s" % m) >else: raise Exception("Invalid response received, not a qmfv2 method: > %s" % m) > except Empty: >print "No response received!" > except Exception, e: >print e > except Receiver

Re: python QMF synchronization

2012-03-21 Thread Pavel Moravec
hod: %s" % m) except Empty: print "No response received!" except Exception, e: print e except ReceiverError, e: print e except KeyboardInterrupt: pass conn.close() - Original Message - > From: "Pavel Moravec" > To: users@qpid.apache.org >

Re: python QMF synchronization

2012-03-21 Thread Pavel Moravec
ithin 30 seconds!" << std::endl; connection.close(); return 0; } catch(const std::exception& error) { std::cout << error.what() << std::endl; connection.close(); } Kind r

python QMF synchronization

2012-03-21 Thread MartiN Beneš
Hi, I cannot find information about qmf synchronization. Or is every call synchronous? For instance if I purge a queue: queue.purge(0) how can i tell it was done?