C++ broker heartbeat does not work

2016-12-15 Thread 634749...@qq.com
hello! I use the c++ broker and C++ client 0.34, both running on windows. I set the heartbeat interval 30 seconds and not set reconnect options,after 60 seconds I found the fetch function throw TransportFailure exception. It seems to disconnected from broker. if the broker run on linux

Re: connection not free when client crashed

2016-10-26 Thread 634749...@qq.com
thanks for your answer! today, I set the connections use heartbeat. I set the heartbeat interval 30 senconds and not set reconnect options,but after 60 seconds I found the fetch function throw TransportFailure exception. It seems to disconnected from broker. If set heartbeat option, should I

connection not free when client crashed

2016-10-25 Thread 634749...@qq.com
hello! I user the C++ broker and C++ client,version 0.34; both the broker and client running on windows ; if the client application crashed, use the qpid-stat -c query connections, I found the connection still exist. if the broker running on linux,it seems not exist this phenomenon; you can

Re: async send message blocked forever

2016-09-20 Thread 634749...@qq.com
Is any information useful? Look forward to your reply,thanks! -- View this message in context: http://qpid.2158936.n2.nabble.com/async-send-message-blocked-forever-tp7650922p7650927.html Sent from the Apache Qpid users mailing list archive at Nabble.com.

Re: async send message blocked forever

2016-09-20 Thread 634749...@qq.com
thanks! the message is not large, the depth of the queue information flowed: -- View this message in context: http://qpid.2158936.n2.nabble.com/async-send-message-blocked-forever-tp7650922p7650926.html Sent from the Apache Qpid

async send message blocked forever

2016-09-20 Thread 634749...@qq.com
HI: I user the c++ broker(verison 0.34) and the c++ API on windows,but I found the send() function of sender maybe blocked forever, I did not start the flow stop,and send message async; example code: Sender sender = session.createSender(address); sender.setCapacity(1000);

Receiver fetch mybey block forever

2016-09-08 Thread 634749...@qq.com
hello! I use the c++ broker and c++ client api(version 0.34);the broker running on centos,and the client on windows server 2008; if the network is not stability between client and broker , I found the receive fetch() function maybe block forever. eg: Receiver receiver; Message

some questions about Receiver get() and fetch() function

2016-09-08 Thread 634749...@qq.com
hello! I use the c++ broker and c++ client api(version 0.34),Now I have some question about Receiver funtion fetch and get; call example: Session session; Receiver receiver; receive = session.createReceiver(); receive.setCapacity(1000); So I receive message from