Broker death recovery

2012-01-03 Thread Rob Springer
Hi all, In our application (we've tried both 0.5 and 0.12), we'd like for our client programs to quickly recover in the case where a broker dies. Currently, we're able to do this by dynamically allocating all our Qpid-using code, and simply re-allocating should the broker die, but that's see

Re: Can /etc/krb5.keytab be discovered automatically when using GSSAPI

2012-01-03 Thread tkdchen
在 2012年1月3日 下午10:52,Gordon Sim 写道: > On 01/03/2012 02:32 PM, tkdchen wrote: >> according to my understand to the Kerberos V5 documentation on >> the keytab file, the default krb5.keytab exists for service and host >> server, and it should have been discovered by GSSAPI or other API in >> my opinio

Re: QMF raising event when defaut binding is created?

2012-01-03 Thread Fraser Adams
Hi Pavel, I'm no expert on AMQP, but my suspicion is that this relates to the fact that the default binding (which is to the default direct exchange) isn't a "true" binding - as far as I'm aware it is illegal for users to bind or unbind to the default direct exchange (it's very definitely impos

Re: Can /etc/krb5.keytab be discovered automatically when using GSSAPI

2012-01-03 Thread Gordon Sim
On 01/03/2012 02:32 PM, tkdchen wrote: > according to my understand to the Kerberos V5 documentation on > the keytab file, the default krb5.keytab exists for service and host > server, and it should have been discovered by GSSAPI or other API in > my opinion, but it seems that doesn't work like wha

Re: Messaging scenarios

2012-01-03 Thread Kalle
Hi, It seems that what ever magic I was missing was bundled into using straight up JMS API. What they did in here: http://www.novell.com/documentation/extend52/Docs/help/MP/jms/tutorial/durable-1.htm helped me along. Thanks all! -- Kalle On Tuesday 3. January 2012 at 14.31, Kalle wrote:

Re: Can /etc/krb5.keytab be discovered automatically when using GSSAPI

2012-01-03 Thread tkdchen
在 2012年1月3日 下午7:41,Gordon Sim 写道: > On 12/23/2011 03:57 AM, tkdchen wrote: >> >> Hi all, >> >> I'm using python-qpid to integrate message bus with a django site. The >> site must connect a QPID broker in a kerberos enviroment, so I pass >> sasl_mechanisms='GSSAPI' to Connection to construct an ins

Re: QMF raising event when defaut binding is created?

2012-01-03 Thread Ted Ross
Pavel, The creation of the default binding is a side-effect of creating a queue (as is the deletion of the binding when the queue is deleted). The event is not raised because it is implied as always occurring after the creation of a queue. -Ted On 01/03/2012 05:03 AM, Pavel Moravec wrote:

Fw: Messaging scenarios

2012-01-03 Thread Kalle
forwarding wrongly targeted message to users list. -- Kalle Forwarded message: > From: Kalle > To: Gordon Sim > Date: Tuesday 3. January 2012 14.26.38 > Subject: Re: Messaging scenarios > > > Thanks for all the answers so far! > > Here is some of my code (edited for clarity, sorry that i

Re: Can /etc/krb5.keytab be discovered automatically when using GSSAPI

2012-01-03 Thread Gordon Sim
On 12/23/2011 03:57 AM, tkdchen wrote: Hi all, I'm using python-qpid to integrate message bus with a django site. The site must connect a QPID broker in a kerberos enviroment, so I pass sasl_mechanisms='GSSAPI' to Connection to construct an instance. As the subject, I want to know when the scrip

Re: Messaging scenarios

2012-01-03 Thread Gordon Sim
On 12/29/2011 07:00 AM, Kalle Kärkkäinen wrote: Hi, I'm developing a system using QPID. I'm considering the options for different queues, and would like some opinions and help with the issues I have ran in to. At the moment I'm using the C++ broker with Java clients. 1) Configuration queue I

Re: Heartbeats in C++ broker on Windows

2012-01-03 Thread Gordon Sim
On 12/22/2011 01:59 PM, wolfwolfswinkel wrote: Hi, I am using the 0.10 c++ broker and client libraries on windows and performing some experiments with the reconnect behaviour of the async sender in the c++ messaging client API. Specifically, I try to enable heartbeats on the connection, however

QMF raising event when defaut binding is created?

2012-01-03 Thread Pavel Moravec
Hi all, I realized that currently QMF does not raise an event when a default binding is created (by "default binding" I mean a binding of type "{exchange:'', queue:, key:}" that is created automatically when a queue is created). To check that behavior, let subscribe to "qmf.default.topic/agent

Re: Question about QPID-3492

2012-01-03 Thread Gordon Sim
On 01/03/2012 09:34 AM, Fraser Adams wrote: Hi Gordon, Happy New Year to you!! And to you! (I was on vacation when your mail was sent, hence the delayed response btw) I've already attached a patch to the original Jira, which I believe covers this. Thanks! Unfortunately Jira is down at the

Re: Question about QPID-3492

2012-01-03 Thread Fraser Adams
Hi Gordon, Happy New Year to you!! I've already attached a patch to the original Jira, which I believe covers this. Frase On 03/01/12 09:14, Gordon Sim wrote: On 12/16/2011 05:12 PM, Fraser Adams wrote: I would think that this would be necessary too wouldn't it? I took a look at Variant& V

Re: Question about QPID-3492

2012-01-03 Thread Gordon Sim
On 12/16/2011 05:12 PM, Fraser Adams wrote: I would think that this would be necessary too wouldn't it? I took a look at Variant& Variant::operator=(const std::string& s) and there's no setEncoding() going on and the impl = new VariantImpl(std::string(s)); inside it looks like it uses the default