Re: bind a persistent queue to an exchange?

2014-01-22 Thread Xiong Zou
Thank you Gordon, Rob and Frase for your kind help. I can see that QPID supports my design target. If all messages published will be persistent by default in C++ APIs as well, then that will be perfect. Cheers, Xiong -- View this message in context: http://qpid.2158936.n2.nabble.com/bind-a-

Re: bind a persistent queue to an exchange?

2014-01-21 Thread Xiong Zou
in a day to be ready for recovery of any clients connected to qpidd broker. Thanks & regards, Xiong Zou -- View this message in context: http://qpid.2158936.n2.nabble.com/bind-a-persistent-queue-to-an-exchange-tp7602992p7603053.html Sent from the Apache Qpid users maili

bind a persistent queue to an exchange?

2014-01-20 Thread Xiong Zou
Hi All, I am thinking to have a message source to publish messages to exchange amq.topic with a routing key like USA.news, thus all client subscribers to this exchange with routing key USA.news will receive a copy of each message of USA.news. Now I would like to have the client subscribers to be

Re: [Client] warning Session was not closed cleanly

2014-01-17 Thread Xiong Zou
ize(); i++) { if(!m_vecQueueUIDs[i].empty()) m_subscriptions.cancel(m_vecQueueUIDs[i]); } Thanks & regards, Xiong Zou -- View this message in context: http://qpid.2158936.n2.nabble.com/Client-warning-Ses

Re: [Client] warning Session was not closed cleanly

2014-01-16 Thread Xiong Zou
Hi Gordon, Appreciate your help a lot! To use the new qpid:messaging APIs, I can just replace qpid::client to qpid:messaging in my source codes? I cannot find any pub-sub sample code for new qpid:messaging APIs. As for the existing qpid::client APIs, I will test your suggestions and update the r

[Client] warning Session was not closed cleanly

2014-01-15 Thread Xiong Zou
Hi All, I am experimenting qpid Pub-Sub pattern, referring to examples/old_api/pub-sub sample codes. My qpid version is 0.20. Sometimes I received warning message like below sample: when I stop my binary: 2014-01-16 08:58:33 [Client] warning Session was not closed cleanly: anonymous.fa805922-8f1b

RE: Can you please help to clarify my doubts in HA cluster managing

2014-01-07 Thread Xiong Zou
Hi Steve, Thanks a lot for your clarifications. It is much clearer now. On top of the QPID HA Cluster, we will manage our service utilities for their own HA. Thanks & regards, Xiong -- View this message in context: http://qpid.2158936.n2.nabble.com/Can-you-please-help-to-clarify-my-doubts-in

Re: Can you please help to clarify my doubts in HA cluster managing

2014-01-06 Thread Xiong Zou
instance will be processed and update its internal status only. Once Primary instance or primary box is down, backup instance or box will take over. Is there any existing mechanism provided by QPID to achieve this purpose to ease our effort? Looking forward to your insights. Thanks, Xiong Zou

Can you please help to clarify my doubts in HA cluster managing

2014-01-05 Thread Xiong Zou
? Thanks a lot in advance! Xiong Zou

Fwd: Possible lose of messages?

2013-04-24 Thread Xiong Zou
Hi, I am testing qpid queue with its default behavior, as below: Connection connection(broker, connectionOptions); try { connection.open(); Session session = connection.createSession(); Receiver receiver = session.createReceiver(address+".FECS.S; {create: always}"