Re: Python, C++: Connecting, creating a session

2009-02-12 Thread Gordon Sim
Rafael Schloming wrote: Jonathan Robie wrote: C++ seems simpler and cleaner to me here. You create a Connection object, open it, then use it to create a Session object: C++: = Connection connection; try { connection.open(host, port); Session session = connection.newSession();

Re: Python, C++: Connecting, creating a session

2009-02-12 Thread Gordon Sim
Rafael Schloming wrote: Gordon Sim wrote: - How does the C++ connect work without a username and password? That can be specified on Connection::open() either through the passed in ConnectionSetttings (preferred at present as this allows setting of various options including tcp/ssl/rdma) or

[jira] Updated: (QPID-1621) Flow control fails to release credit when unacknowledge message count exceeds the low water mark

2009-02-12 Thread Aidan Skinner (JIRA)
[ https://issues.apache.org/jira/browse/QPID-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aidan Skinner updated QPID-1621: Attachment: 0001-QPID-1621-add-testHighLowStarvation-to-test-this-is.patch test case. passes

Re: C++, Python: Setting Properties

2009-02-12 Thread Rafael Schloming
Jonathan Robie wrote: C++: = Message message; message.getDeliveryProperties().setRoutingKey(request); message.getMessageProperties().setReplyTo(ReplyTo(amq.direct, reply_to_key); In C++, I create a message, then set its properties. How does this work? Are the delivery properties and

Re: C++, Python: Common Includes

2009-02-12 Thread Joshua Kramer
Every Python example currently has the same template, with a clearly marked section for the code that differs from other examples. I did that on purpose when I did the first set of examples ;- If that's the RedHat documentation you're referring to... my script skeleton is actually based off

Re: Qpid Documentation page

2009-02-12 Thread Rajith Attapattu
On Thu, Feb 12, 2009 at 8:43 AM, Marnie McCormack marnie.mccorm...@googlemail.com wrote: Being honest, I like the old page far better - escpecially since I just added to it/updated it :-) The problem with the old documentation page is that you cannot find information easily. They are burried

Re: Qpid Documentation page

2009-02-12 Thread Marnie McCormack
I'm not sure what the answer here is, as you're right about the multiple differing views issue. My take on it (and it is a little one sided) is to approach the pages as a User tries to find something out, usually (inevitably) as a Java dev. Not sure about a better way fwd tho ... will ponder.

Re: Spring Housecleaning: Client APIs

2009-02-12 Thread Marnie McCormack
How will this spring clean account for backwards compability ? I know of at least on C++ user who is stuck because of API changes, keen to avoid creating any more !! Answers on a postcard, about how we will do backwards compatibility across the piece ... Marnie On Wed, Feb 11, 2009 at 5:05 PM,

Re: C++, Python: Setting Properties

2009-02-12 Thread Jonathan Robie
If we wanted to make C++ symmetrical with Python, we might want to add a constructor that allows delivery and message properties to be specified - would this be useful? It's easy to do this other ways, but symmetry between the languages is good Jonathan Python: --

Re: Qpid Documentation page

2009-02-12 Thread Marnie McCormack
snip Maintaining docs by language is not a good choice IMHO. We can clearly see that our users are trying to mix and match components written in different languages. Also the c++ broker is packaged by platform and IMO each package is a different product with possibly different

Re: Qpid Documentation page

2009-02-12 Thread Rajith Attapattu
On Thu, Feb 12, 2009 at 10:28 AM, Marnie McCormack marnie.mccorm...@googlemail.com wrote: snip Maintaining docs by language is not a good choice IMHO. We can clearly see that our users are trying to mix and match components written in different languages. Also the c++ broker is

[jira] Commented: (QPID-1661) Using credentials in the URLs of the qpid-route command causes an unhandled exception to be raised

2009-02-12 Thread Ted Ross (JIRA)
[ https://issues.apache.org/jira/browse/QPID-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12673021#action_12673021 ] Ted Ross commented on QPID-1661: Fixed in SVN r743819 Using credentials in the URLs of

Re: Qpid Documentation page

2009-02-12 Thread Rafael Schloming
Marnie McCormack wrote: Being honest, I like the old page far better - escpecially since I just added to it/updated it :-) From my pov, I think it's quite frustrating that all the broker/implementation boundaries are becoming blurred in the docs the way we link to them. For example, the FAQ

Re: mailing lists are not showing on the mod_mbox site listing

2009-02-12 Thread Yegor Kozlov
Hi Infra, POI lists are not showing on mod_mbox. Would you please check what's the matter. http://mail-archives.apache.org/mod_mbox/poi-user/ http://mail-archives.apache.org/mod_mbox/poi-dev/ Strange, but for some projects mod_mbox works just fine, for example, I can see

RE: c++ broker changes that might affect windows

2009-02-12 Thread Steve Huston
Hi Alan, I added a function AsynchIO::stopReading() in revision 743416 to fix a race condition with read-credit on Linux and a no-op implementation for windows. Ok, thanks for the heads up. This shouldn't cause any change to existing windows behaviour. I'm raising it in case anyone