Re: qpid-cpp and virtual host

2019-04-24 Thread Gordon Sim
On 25/04/2019 7:16 am, Jose Alberto Fernandez Parejo wrote: Hello Gordon, Thank you very much for the quick response. We have downloaded the new version including that commit. Now there is no error when calling connection.setOption("virtualhost", "virtualhost_name"); But the client is connect

Re: qpid-cpp and virtual host

2019-04-24 Thread Jose Alberto Fernandez Parejo
Hello Gordon, Thank you very much for the quick response. We have downloaded the new version including that commit. Now there is no error when calling connection.setOption("virtualhost", "virtualhost_name"); But the client is connecting to default virtual host "/" and not to the one set with s

Re: Ref counting in proton C

2019-04-24 Thread Cliff Jansen
Hi Jeremy and Rabih, I think the problem is in the way you have constructed your Session class. The fact that you have a proton::session object "m_session" embedded in your Session object, and the Session object's destructor is called in the non-callback thread, means that you are making an unsaf

Re: [Dispatch-router] Multicast

2019-04-24 Thread Chuck Rolke
i'm glad the tool is working for you. There is a *lot* of information in there and teasing all the facts from the web page can be tricky. The names are a problem. In some cases dispatch router will create objects with names that are two concatenated guids. The names are so long that they take up

Re: [ANNOUNCE] Apache Qpid Proton 0.27.1 released

2019-04-24 Thread Ken Giusti
FYI: I've spun up 0.27.1 python bindings up at pypi: https://pypi.org/project/python-qpid-proton On Tue, Apr 23, 2019 at 6:25 AM Robbie Gemmell wrote: > The Apache Qpid (http://qpid.apache.org) community is pleased to announce > the immediate availability of Apache Qpid Proton 0.27.1. > > Apa

Re: Ref counting in proton C

2019-04-24 Thread Rabih M
Hello, We manage to reproduce the bug in a simplified use case. Please find attached the "Broker.hpp" along with the test "Main.cpp". The usage was inspired from the proton C++ multi-threaded examples and the doc: https://github.com/apache/qpid-proton/blob/master/cpp/docs/mt.md#thread-safety-rules

Re: qpid-cpp and virtual host

2019-04-24 Thread Gordon Sim
On 24/04/2019 1:11 pm, Jose Alberto Fernandez Parejo wrote: So, Could we download the last changes from https://github.com/apache/qpid-cpp to use virtualhost? Yes (or even just cherry-pick that commit if you prefer). - To unsu

Re: qpid-cpp and virtual host

2019-04-24 Thread Jose Alberto Fernandez Parejo
Hello Gordon, Thank you very much. So, Could we download the last changes from https://github.com/apache/qpid-cpp to use virtualhost? Regards On 04/24/2019 08:59 AM, Gordon Sim wrote: On 24/04/2019 8:38 am, Jose Alberto Fernandez Parejo wrote: Hello everyone, We are using rabbitmq broker a

Re: qpid-cpp and virtual host

2019-04-24 Thread Gordon Sim
On 24/04/2019 8:38 am, Jose Alberto Fernandez Parejo wrote: Hello everyone, We are using rabbitmq broker and qpid-cpp-1.38.0 API to send/receive messages to/from broker. Our rabbitmq broker provider has defined a Virtual host at which queues and exchange are created. We have seen that virtual

qpid-cpp and virtual host

2019-04-24 Thread Jose Alberto Fernandez Parejo
Hello everyone, We are using rabbitmq broker and qpid-cpp-1.38.0 API to send/receive messages to/from broker. Our rabbitmq broker provider has defined a Virtual host at which queues and exchange are created. We have seen that virtualhost can be setting by field "vhost:/" in hostname. But we ha