Re: JavaScript version of Proton?

2017-03-02 Thread Paul
Tnx for the claification. Too bad the things claimed on the website aren't true, as I was particular interested in being able to use the exact same library/API in both Java and JavaScript (as we use both in our stack), as to not have to deal with two separate libraries/api's that do the same

Re: [qpid c++][NodeJS amqp10] Unexpected message format, got uint at index 1 of headers

2017-03-02 Thread Gordon Sim
On 02/03/17 16:56, Morgan Lindqvist wrote: Hi Matt, Yes, but ttl does not have index 1, I do not understand this. I am missing something. Index 1 is priority, which should be a ubyte. Can you perhaps get a wireshark trace? Or failing that enable trace+:Protocol on the qpid::messaging

Re: [qpid c++][NodeJS amqp10] Unexpected message format, got uint at index 1 of headers

2017-03-02 Thread Morgan Lindqvist
Hi Matt, Yes, but ttl does not have index 1, I do not understand this. I am missing something. Best Regards Morgan Skickat från min iPhone 2 mars 2017 kl. 17:50 skrev Matt Broadstone [via Qpid] >: On

Re: [qpid c++][NodeJS amqp10] Unexpected message format, got uint at index 1 of headers

2017-03-02 Thread Matt Broadstone
On Thu, Mar 2, 2017 at 11:35 AM, Morgan Lindqvist wrote: > Hi All, > > I am using the Node JS library amqp10 (ver 3.2.5) together with quid c++ > (ver 1.35). > > I just started defining the TTL parameter in the header and now quid c++ > give me the following

Re: [Qpid Dispatch - 0.7.0] Random failure on unit test "system_tests_link_routes" on Linux

2017-03-02 Thread Adel Boutros
Great! Good luck [?] Adel From: Ganesh Murthy Sent: Thursday, March 2, 2017 4:18:54 PM To: users@qpid.apache.org Subject: Re: [Qpid Dispatch - 0.7.0] Random failure on unit test "system_tests_link_routes" on Linux Hi Adel, Luckily, I

Re: [proton-j] handling of link-credit

2017-03-02 Thread Robbie Gemmell
On 2 March 2017 at 13:59, Rob Godfrey wrote: > On 2 March 2017 at 13:34, Robbie Gemmell wrote: > >> On 2 March 2017 at 12:06, Rob Godfrey wrote: >> > On 2 March 2017 at 12:56, Robbie Gemmell

Re: [Qpid Dispatch - 0.7.0] Random failure on unit test "system_tests_link_routes" on Linux

2017-03-02 Thread Ganesh Murthy
Hi Adel, Luckily, I was able to reproduce your problem locally. I will keep you posted on my findings. Thanks. - Original Message - > From: "Adel Boutros" > To: users@qpid.apache.org > Sent: Wednesday, March 1, 2017 3:11:59 PM > Subject: Re: [Qpid Dispatch -

Re: Accessing queues with '/' in name in Rest API [qpid java broker 6.0.4]

2017-03-02 Thread Rob Godfrey
On 2 March 2017 at 15:11, Antoine Chevin wrote: > Thank you Rob for the very detailed answer. > I saw in the code > (org.apache.qpid.server.protocol.v1_0.Session_1_0#remoteLinkCreation)that > the exchange lookup is skipped if the address starts with a '/'. > I intend to

Re: Accessing queues with '/' in name in Rest API [qpid java broker 6.0.4]

2017-03-02 Thread Antoine Chevin
Thank you Rob for the very detailed answer. I saw in the code (org.apache.qpid.server.protocol.v1_0.Session_1_0#remoteLinkCreation)that the exchange lookup is skipped if the address starts with a '/'. I intend to use a '/' in the beginning because I don't want the exchange lookup. Do you think it

Re: [proton-j] handling of link-credit

2017-03-02 Thread Rob Godfrey
On 2 March 2017 at 13:34, Robbie Gemmell wrote: > On 2 March 2017 at 12:06, Rob Godfrey wrote: > > On 2 March 2017 at 12:56, Robbie Gemmell > wrote: > > > >> On 1 March 2017 at 18:28, Gordon Sim

Re: [proton-j] handling of link-credit

2017-03-02 Thread Robbie Gemmell
On 2 March 2017 at 12:06, Rob Godfrey wrote: > On 2 March 2017 at 12:56, Robbie Gemmell wrote: > >> On 1 March 2017 at 18:28, Gordon Sim wrote: >> > On 01/03/17 18:14, Rob Godfrey wrote: >> >> >> >> The link credit is an

Re: [proton-j] handling of link-credit

2017-03-02 Thread Rob Godfrey
On 2 March 2017 at 12:56, Robbie Gemmell wrote: > On 1 March 2017 at 18:28, Gordon Sim wrote: > > On 01/03/17 18:14, Rob Godfrey wrote: > >> > >> The link credit is an absolute value on the wire... but proton presents > it > >> in relative terms. If

Re: JavaScript version of Proton?

2017-03-02 Thread Gordon Sim
On 02/03/17 10:46, Robbie Gemmell wrote: For now, if you are looking for a Javascript AMQP 1.0 implementation you might consider one written by Gordon Sim, https://github.com/grs/rhea, which loosely follows the style of the Proton Container api in the Python binding which Gordon also did much of

Re: [proton-j] handling of link-credit

2017-03-02 Thread Robbie Gemmell
On 1 March 2017 at 18:28, Gordon Sim wrote: > On 01/03/17 18:14, Rob Godfrey wrote: >> >> The link credit is an absolute value on the wire... but proton presents it >> in relative terms. If you had 500 units of credit outstanding and >> flow(-500) and then flow(2), and you get 5

Re: [proton-j] handling of link-credit

2017-03-02 Thread Robbie Gemmell
On 1 March 2017 at 17:49, Gordon Sim wrote: > On 01/03/17 17:19, Robbie Gemmell wrote: >> >> How did you know they had actually stopped or that it was then safe to >> flow them new credit, just waiting for a while? >> >> If you flow new credit before the link is actually stopped

Re: JavaScript version of Proton?

2017-03-02 Thread Robbie Gemmell
On 2 March 2017 at 07:56, Paul wrote: > Hi, > > Based on http://qpid.apache.org/proton/overview.html (and > http://qpid.apache.org/proton/), I'm looking for the JavaScript > implementation. > > The only think I can find are JavaScript bindings that are cross-compiled > from

Re: [proton-j] handling of link-credit

2017-03-02 Thread Rob Godfrey
On 2 March 2017 at 08:56, Kai Hudalla wrote: > On Wed, 2017-03-01 at 18:06 +0100, Rob Godfrey wrote: > > On 1 March 2017 at 17:53, Kai Hudalla wrote: > > > > > On Wed, 2017-03-01 at 15:44 +, Robbie Gemmell wrote: > > > > On 1 March 2017 at

Re: Accessing queues with '/' in name in Rest API [qpid java broker 6.0.4]

2017-03-02 Thread Rob Godfrey
On 2 March 2017 at 10:46, Antoine Chevin wrote: > Thank you Rob for the answer. Yes it really helps! > I noticed that addresses in the form / are also > used with AMQP 1-0. Is it expected? > > It is part of how the Java Broker maps the AMQP 0-x Exchange/Binding/Queue

Re: Accessing queues with '/' in name in Rest API [qpid java broker 6.0.4]

2017-03-02 Thread Antoine Chevin
Thank you Rob for the answer. Yes it really helps! I noticed that addresses in the form / are also used with AMQP 1-0. Is it expected? Thank you, Regards, Antoine On 1 March 2017 at 20:25, Olivier Mallassi wrote: > Rob, all > > Thank you rob for this. Could you

Configuring addresses starting with '/' on qpid-dispatch router 0.7.0

2017-03-02 Thread Antoine Chevin
Hello, I tried to configure addresses starting with a '/' but using qdstat I see that this '/' is removed. Is it expected? I noticed the same behavior with autolinks. Thank you, Regards, Antoine

Re: [qpid c++] ACL for writing to an exchange

2017-03-02 Thread Gordon Sim
On 02/03/17 09:18, Morgan Lindqvist wrote: I am using AMQP 1.0, a requirement for the implementation. Can I not use an "exchange" and connect it to a queue and write to the exchange and read from the queue in this case? Yes, you can. AMQP 1.0 doesn't cover the binding of the queue to the

Re: [qpid c++] ACL for writing to an exchange

2017-03-02 Thread Morgan Lindqvist
Hi, I will try getting the logs, but until then. I am using AMQP 1.0, a requirement for the implementation. Can I not use an "exchange" and connect it to a queue and write to the exchange and read from the queue in this case? I have big difficulties in identifying which part of quid that is for

Re: deploying Qpid via Cloud Foundry

2017-03-02 Thread Lorenz Quack
Hi Dan, Yes, I think that flow sounds about right. I haven't done it myself but that is essentially the approach I would take. Feel free to let us know if you run into problems with the Qpid side. Sorry, that I cannot help you more with the CF side. Kind regards, Lorenz On 01/03/17 15:05,