Re: Questions from a novice

2013-04-02 Thread Ken Giusti
When console.py connects to a broker (via addBroker), it will attempt to query for the existence of the qmf.default.direct and qmf.default.topic exchanges. If that query succeeds, the console marks that broker as being V2 capable, and uses V2. Otherwise it falls back to V1. Take a look at the

Re: Questions from a novice

2013-04-02 Thread Bill Freeman
Fraser On Tue, Apr 2, 2013 at 1:48 PM, Fraser Adams wrote: > > > I found this (https://cwiki.apache.org/qpid/qmfv2-project-page.html). I > > probably didn't go here the first time around because the link to it on > > https://cwiki.apache.org/qpid/qpid-management-framework.html says that > it >

Re: Questions from a novice

2013-04-02 Thread Fraser Adams
Hi Ken, I hadn't realised that the asynchronous python API actually had QMF2 support at all, I has assumed that both the original APIs were QMF1 only. I'm definitely learning something - though I'm not especially fond of that particular API, I find it a bit fiddly. It has been a long while sinc

Re: Questions from a novice

2013-04-02 Thread Fraser Adams
> WebSockets in the browser is event based. You register a callback for a > new message. You send a message either because the user clicked something, > or because a timeout expired. So threads aren't forced by WS. Yeah I realise that, my point was that with the AJAX/REST approach everything w

Java JMS client eating InterruptedException

2013-04-02 Thread Aleš Trček
Hi all! I am implementing proper stopping (with ExecutorService.shutdownNow()) of a few worker threads I have, that are consuming messages from the queue all the time, and if there were no messages the threads wouldn't stop... Thread.currentThread().isInterrupted() is always false. So after a l

RE: QPID and HermesJMS

2013-04-02 Thread Jan Bares
Thanks, I tried the same method, it works for me too, thanks. Kind Regards, Jan > -Original Message- > From: Robbie Gemmell [mailto:robbie.gemm...@gmail.com] > Sent: Tuesday, April 02, 2013 4:09 PM > To: users@qpid.apache.org > Subject: Re: QPID and HermesJMS > > Hi, > > I was able to

Re: QPID and HermesJMS

2013-04-02 Thread Robbie Gemmell
Hi, I was able to get HermesJMS to connect to the Java broker by configuring it via its generic JNDI connection factory configuration rather than trying to use its Qpid plugin, which it seems has some issues. I set up a ClassLoader with the Qpid jars in it, then referred to that when creating a g

Re: Questions from a novice

2013-04-02 Thread Ken Giusti
Hi Frase, What I saw surprised me: when I disabled v1 (via --mgmt-qmf1 no) and I ran qpid-tool, qpid-tool didn't get any updates (no objects listed). As you point out, the broker should be sending unsolicited object update notifications periodically. By default, each update message is sent in

Re: Questions from a novice

2013-04-02 Thread Ken Giusti
- Original Message - > From: "Bill Freeman" > To: users@qpid.apache.org > Sent: Monday, April 1, 2013 7:50:16 PM > Subject: Re: Questions from a novice > > Ken, > > > On Mon, Apr 1, 2013 at 5:58 PM, Ken Giusti wrote: > > > > That sounds delux, since they would probably even survive

Re: Questions from a novice

2013-04-02 Thread Bill Freeman
On Tue, Apr 2, 2013 at 4:31 AM, Fraser Adams wrote: > > > On 1 Apr 2013, at 22:15, Bill Freeman wrote: > > > > I realize that the final numbers come out the same. But this is to be an > > interactive tool, used by people who are panicking because some queue > seems > > wedged. So if they comman

RE: QPID and HermesJMS

2013-04-02 Thread Jan Bares
Hi, Its not clear to me how you persuade Hermes to create AMQConnectionFactory using non-default constructor. My settings: Hermes v1.15 build 130812 QPID client 0.20 Plugin In: Apache QPID Property brokerUrl: amqp://jboss:jboss@/?brokerlist='tcp://myserver:5672' Connection Factory class: org.ap

Re: Questions from a novice

2013-04-02 Thread Fraser Adams
On 1 Apr 2013, at 22:15, Bill Freeman wrote: > > I realize that the final numbers come out the same. But this is to be an > interactive tool, used by people who are panicking because some queue seems > wedged. So if they command a change, I'd really like to show them a > result. Within 10 se

Re: Questions from a novice

2013-04-02 Thread Fraser Adams
On 1 Apr 2013, at 21:31, Ken Giusti wrote: > Hi Bill, > > I've just tried to restrict my broker to using only qmf v2: > > $ qpidd --auth no --mgmt-qmf1 no > > and I no longer get update notifications from my console.py app! From the > looks of it, the console.py code is broken - the broke

Re: QPID and HermesJMS

2013-04-02 Thread Aage Nielsen
We tried adding qpid-all.jar + qpid-client-0.20.jar and with the brokerUrl/connectionURL notation. It looks like the connection went well but another issue occurs: org.apache.qpid.transport.SessionException: ch=0 id=0 ExecutionException(errorCode=NOT_FOUND, commandId=0, description=Unknown Exchang