Java Broker Message Content Translation/Conversion

2016-05-17 Thread Alex Szczuczko
Hi, I'm trying to send a message from a Qpid 0.32 Python client (which uses protocol 0-10), to Qpid Java Broker 6.0.2, and receive it with a 0-9-1 protocol client (amqpy 0.12.4). The message content/body is a Python dictionary, which is transparently encoded as a AMQP 0-10 map[1] by the sending

[VOTE] Qpid Dispatch Router 0.6.0 RC3

2016-05-17 Thread Ted Ross
This is the vote thread to approve RC3 as the final Dispatch 0.6.0. Release artifacts: https://dist.apache.org/repos/dist/dev/qpid/dispatch/0.6.0-rc3/ Release Description: https://cwiki.apache.org/confluence/display/qpid/What%27s+New+in+Apache+Qpid+Dispatch+Router+0.6.0 Thanks, -Ted ---

Apache Qpid Dispatch Router 0.6.0 Release Candidate 3 now available

2016-05-17 Thread Ted Ross
Release candidate 3 for Apache Qpid Dispatch Router 0.6.0 is available for evaluation and testing. You can find the files here: https://dist.apache.org/repos/dist/dev/qpid/dispatch/0.6.0-rc3/ I tagged and published RC2 but before I announced it, several minor issues popped up that neede

RE: [qpid-dispatch] Running same qdmanage command twice crashes dispatcher

2016-05-17 Thread Adel Boutros
Hello Ganesh, Unfortunately, there is no core file generated and I can reproduce 100% with the binaries we have generated. Could it be related to the way qpid-dispatch was built? As for the log file, it is empty from my side. It seems this crash prevents any logging. Regards,Adel Date: Tue, 17

Re: [Qpid-dispatch] Typo in the manual page of qdmanage

2016-05-17 Thread Alan Conway
On Thu, 2016-05-12 at 16:51 +0200, Adel Boutros wrote: > Hello guys, > While checking https://qpid.apache.org/releases/qpid-dispatch-master/ > man/qdmanage.html, I noticed that the line containing "-b URL, > –bus=URL" is not complete; It is missing the rest of the default > value. > It used to be w

Re: [Qpid-dispatch] Typo in the manual page of qdmanage

2016-05-17 Thread Ganesh Murthy
Hi Adel, The rest of the default value is now showing up - Connection Options. -b URL, –bus=URL : URL of the messaging bus to connect to (default 0.0.0.0) Please see - http://qpid.apache.org/releases/qpid-dispatch-master/man/qdmanage.html Thanks Alan Conway for fixing this. Thanks. -

Re: [qpid-dispatch] Running same qdmanage command twice crashes dispatcher

2016-05-17 Thread Ganesh Murthy
Hi Adel, I got down the latest dispatch code from https://dist.apache.org/repos/dist/dev/qpid/dispatch/0.6.0-beta2/ and used your dispatcher.conf to start the router. I ran the qdmanage command several times and did not see the router crash. This is what I see on the client side - [gmurthy@

RE: [Qpid Java Broker] How to get the number of messages in a queue using REST api

2016-05-17 Thread Adel Boutros
Thank you Rob, I will try that. Adel > Date: Tue, 17 May 2016 11:55:42 +0100 > Subject: Re: [Qpid Java Broker] How to get the number of messages in a queue > using REST api > From: rob.j.godf...@gmail.com > To: users@qpid.apache.org > > Hi Adel, > > > within the JSON results object brought bac

RE: Proton C++ question

2016-05-17 Thread Adel Boutros
Hello guys, Issue created: https://issues.apache.org/jira/browse/PROTON-1201 Regards,Adel > Date: Tue, 17 May 2016 12:00:07 +0200 > Subject: Re: Proton C++ question > From: rabih.prom...@gmail.com > To: users@qpid.apache.org > > Thank you Gordon for your reply. > > I tried to add the link.close(

RE: [qpid-dispatch] Running same qdmanage command twice crashes dispatcher

2016-05-17 Thread Adel Boutros
Hello Ted, Sorry my test case was wrong. You have to run the following command twice or three times (I attached the config file to my mail): qdmanage -b localhost:10400 create --type=connector role=route-container addr=localhost port=5672 name=broker1 You will sometime get an error client-side bu

Re: [qpid-dispatch] Running same qdmanage command twice crashes dispatcher

2016-05-17 Thread Ted Ross
On 05/17/2016 06:20 AM, Adel Boutros wrote: Hello, While playing around with the dispatcher, I notice when I run the same qdmanage command twice, the dispatcher outputs an error message and then crashes. Is this expected? *Command example:* qdmanage -b localhost:10400 create --type=address pre

Re: [Qpid Java Broker] How to get the number of messages in a queue using REST api

2016-05-17 Thread Rob Godfrey
Hi Adel, within the JSON results object brought back for the queue is a "statistics" section... here's an example from my local broker (running curl http://localhost:8080/api/latest/queue/default/default/queue): "statistics" : { "bindingCount" : 0, "consumerCount" : 1, "consumer

[qpid-dispatch] Running same qdmanage command twice crashes dispatcher

2016-05-17 Thread Adel Boutros
Hello, While playing around with the dispatcher, I notice when I run the same qdmanage command twice, the dispatcher outputs an error message and then crashes. Is this expected? *Command example:* qdmanage -b localhost:10400 create --type=address prefix=my.queue waypoint=true name=queue1 *Error M

Re: Proton C++ question

2016-05-17 Thread Rabih M
Thank you Gordon for your reply. I tried to add the link.close() in addition to connection.close() but the problem remains. The workaround with the credit window works. May be I should create a Jira issue for the bug. Thanks, Rabih On Tue, May 17, 2016 at 10:59 AM, Gordon Sim wrote: > On 10/

Re: Proton C++ question

2016-05-17 Thread Gordon Sim
On 10/05/16 11:38, Rabih M wrote: Hello, I have an issue while using proton C++ binding 0.12.0. In my use case, I need to get one and only one message from a distant queue. But I am not able to do it with proton. I read that in the constructor of handler I could specify that using prefetch pa

Re: [VOTE] Release Qpid Java 6.0.3 (RC1)

2016-05-17 Thread Lorenz Quack
On 16/05/16 11:44, Robbie Gemmell wrote: On 16 May 2016 at 10:59, Robbie Gemmell wrote: On 12 May 2016 at 16:41, Keith W wrote: Hi all, A release candidate for the next release (6.0.3) of the Qpid Java Components has been created. The list of changes can be found in Jira: https://issues.