Re: Inconsistent state value declarations...

2012-08-09 Thread Rafael Schloming
On Thu, Aug 9, 2012 at 10:25 AM, Darryl L. Pierce dpie...@redhat.comwrote: On Wed, Aug 08, 2012 at 10:53:47AM -0400, Rafael Schloming wrote: The extra compiler checking you get with the enums is kind of nice from an API perspective. What exactly is the problem with enum values

Re: SSL support

2012-08-14 Thread Rafael Schloming
On Tue, Aug 14, 2012 at 4:36 PM, Rob Godfrey rob.j.godf...@gmail.comwrote: On 14 August 2012 20:40, Rajith Attapattu rajit...@gmail.com wrote: Rafi, From what I understand there are two ways to use SSL/TLS with AMQP 1.0 a) A secure connection is established right off the bat. b) A

Re: pn_message_save_data interesting problem...

2012-08-23 Thread Rafael Schloming
On Thu, Aug 23, 2012 at 3:27 PM, Darryl L. Pierce dpie...@redhat.comwrote: In working on the stable Ruby APIs on top of Swig I've hit an interesting problem with this API. The stable API for this is Qpid::Proton::get_message_data(msg, size) and returns an array that is the size of the string

Re: No license presented when submitting a patch...

2012-08-24 Thread Rafael Schloming
Yup, the upgrade this morning got rid of that check box. According to the email about it, the box is really only there for people to explicitly NOT grant the license (as Chuck says it is implicitly granted by default), and since it required a special plugin that made it hard to keep JIRA current,

driver/transport/sasl refactor

2012-09-04 Thread Rafael Schloming
Hi Everyone, I've done some exploratory coding on a small refactor aimed at simplifying the driver in order to ease both portability and ssl integration. I've attached the patch. It's not huge, but it removes some of the trickiest code from driver.c. I believe there are further simplifications

Re: driver/transport/sasl refactor

2012-09-04 Thread Rafael Schloming
Oops, looks like attachments are stripped. I've posted the patch here: https://reviews.apache.org/r/6910/ --Rafael

Re: driver/transport/sasl refactor

2012-09-04 Thread Rafael Schloming
On Tue, Sep 4, 2012 at 5:53 PM, Rajith Attapattu rajit...@gmail.com wrote: I'm trying to figure out what changes are needed on the Java side. It seems the bind method will be of interest. Rafi, could you also explain how the refactor is going to help with SSL ? Sure, the idea is to

Re: driver/transport/sasl refactor

2012-09-04 Thread Rafael Schloming
the current byte transport as a layer on top of that. --Rafael On Tue, Sep 4, 2012 at 9:59 PM, Rajith Attapattu rajit...@gmail.com wrote: On Tue, Sep 4, 2012 at 9:16 PM, Rafael Schloming r...@alum.mit.edu wrote: On Tue, Sep 4, 2012 at 5:53 PM, Rajith Attapattu rajit...@gmail.com wrote: I'm

new JIRA components

2012-09-06 Thread Rafael Schloming
Hi Everyone, Sorry for the bulk edit spam. I've just added proton-j and proton-c components to the JIRA, and retroactively put all issues in the appropriate component. Please use the components as appropriate going forward. Thanks, --Rafael

Re: pn_message_load with nil data

2012-09-07 Thread Rafael Schloming
This should work now with the possibly slightly unintuitive caveat that when you load None/null/nil into a text message and then save it, you get back an empty string. --Rafael On Wed, Sep 5, 2012 at 8:02 AM, Darryl L. Pierce dpie...@redhat.com wrote: Should attempting to load a message with

Re: driver/transport/sasl refactor

2012-09-07 Thread Rafael Schloming
As of last night this is on trunk. --Rafael On Thu, Sep 6, 2012 at 4:11 PM, Ken Giusti kgiu...@redhat.com wrote: Good improvement. Once it's on trunk I'll refactor the ssl branch to move the ssl i/o into the transport, as per the intent. -K - Original Message - On Tue, Sep 4,

Re: Ruby stable API design

2012-09-10 Thread Rafael Schloming
On Mon, Sep 10, 2012 at 9:26 AM, Darryl L. Pierce dpie...@redhat.comwrote: I've been working the past few weeks on providing a stable API layer in Ruby on top of the swig bindings. I've made a few decisions in the design and want to now float them out here to get feedback. You can take a

Re: First cut at a C++ binding for proton comments please [Fwd: Review Request: C++ wrappers for proton pn_message_t and pn_messenger_t]

2012-09-10 Thread Rafael Schloming
Can you comment on why you decided to inline it directly into the C header files as opposed to splitting it out somehow? Given William's comment on exceptions, it seems like it might well expand/evolve enough to make it awkward to inline. --Rafael On Mon, Sep 10, 2012 at 2:47 PM, Andrew Stitcher

Re: First cut at a C++ binding for proton comments please [Fwd: Review Request: C++ wrappers for proton pn_message_t and pn_messenger_t]

2012-09-10 Thread Rafael Schloming
On Mon, Sep 10, 2012 at 3:23 PM, Andrew Stitcher astitc...@redhat.comwrote: On Mon, 2012-09-10 at 15:01 -0400, Rafael Schloming wrote: Can you comment on why you decided to inline it directly into the C header files as opposed to splitting it out somehow? Given William's comment

Re: Ruby stable API design

2012-09-10 Thread Rafael Schloming
On Mon, Sep 10, 2012 at 2:04 PM, Darryl L. Pierce dpie...@redhat.comwrote: On Mon, Sep 10, 2012 at 01:36:35PM -0400, Rafael Schloming wrote: So my general thought is that we should focus on the messenger stuff first for high level languages like Ruby. The main reason being that the lower

Re: First cut at a C++ binding for proton comments please [Fwd: Review Request: C++ wrappers for proton pn_message_t and pn_messenger_t]

2012-09-10 Thread Rafael Schloming
On Mon, Sep 10, 2012 at 3:38 PM, Andrew Stitcher astitc...@redhat.comwrote: On Mon, 2012-09-10 at 15:28 -0400, Rafael Schloming wrote: On Mon, Sep 10, 2012 at 3:23 PM, Andrew Stitcher astitc...@redhat.com wrote: On Mon, 2012-09-10 at 15:01 -0400, Rafael Schloming wrote: Can you

Re: Question on Internal Links

2012-09-11 Thread Rafael Schloming
On Tue, Sep 11, 2012 at 11:57 AM, Ted Ross tr...@redhat.com wrote: If I have a container built on proton and I want to establish a link between two nodes in the container, I would like to use pn_link_t so I have all the available link features. Is there a way to establish internal links? I

idiomatic python API

2012-09-12 Thread Rafael Schloming
Hey Everyone, I've put together a draft of an idiomatic python API that sits on top of the swig bindings. It's a very thin layer, all it does is translate from a procedural interface to an object oriented one, handling memory management and adding checked exceptions along the way. I've posted it

Re: Proton engine api naming proposal

2012-09-13 Thread Rafael Schloming
On Thu, Sep 13, 2012 at 9:36 AM, Justin Ross jr...@redhat.com wrote: On Thu, 13 Sep 2012, Ted Ross wrote: I'm not crazy about the work-processing function names as they seem to disregard the grammar. Should they not all be pn_connection_* functions? I agree about this. I would

Re: Proton engine api naming proposal

2012-09-13 Thread Rafael Schloming
On Thu, Sep 13, 2012 at 12:07 PM, jr...@redhat.com wrote: On Thu, 13 Sep 2012, Rafael Schloming wrote: On Thu, Sep 13, 2012 at 9:36 AM, Justin Ross jr...@redhat.com wrote: On Thu, 13 Sep 2012, Ted Ross wrote: I'm not crazy about the work-processing function names as they seem

Re: Proton engine api naming proposal

2012-09-13 Thread Rafael Schloming
On Thu, Sep 13, 2012 at 4:28 PM, Rajith Attapattu rajit...@gmail.comwrote: I must admit that when I looked at the code initially I did find it a bit hard to navigate the code. Once I figured out the pattern it was easy. I'm guessing Justin's view (sorry if I'm putting words in your mouth) is

Re: Ruby stable API design

2012-09-13 Thread Rafael Schloming
On Thu, Sep 13, 2012 at 5:27 PM, Rajith Attapattu rajit...@gmail.comwrote: On Thu, Sep 13, 2012 at 5:05 PM, Rafael Schloming r...@alum.mit.edu wrote: On Thu, Sep 13, 2012 at 4:46 PM, Rajith Attapattu rajit...@gmail.com wrote: On Mon, Sep 10, 2012 at 1:36 PM, Rafael Schloming r

Re: proton port to windows using Visual Studio 2010 tools

2012-10-01 Thread Rafael Schloming
Hi Mary, Welcome to the list! I'm looking forward to seeing the issues you've hit. It would be great to have proton working with the Visual Studio toolset. If you have patches ready to go already our main tools for collaboration are JIRA[1] and reviewboard[2]. Please feel free to ask questions

Re: Small proton (mostly build) issues

2012-10-01 Thread Rafael Schloming
On Fri, Sep 28, 2012 at 6:02 PM, Andrew Stitcher astitc...@redhat.comwrote: Ken, When you added Openssl support to proton was there a specific reason you detected it by hand rather than using cmake FindPackage? Also HAVE_OPENSSL_H isn't used anywhere. I attach attach a patch to neaten this

Re: Proton engine api naming proposal

2012-10-03 Thread Rafael Schloming
=0ArGmVtK1EBOMdEw0bkp4OE5UOWpRRkx3RzVoTjliX0E#gid=0 More comments below. Justin On Thu, 13 Sep 2012, Rafael Schloming wrote: On Thu, Sep 13, 2012 at 4:28 PM, Rajith Attapattu rajit...@gmail.com wrote: I must admit that when I looked at the code initially I did find it a bit hard to navigate

documentation posted

2012-10-04 Thread Rafael Schloming
Hey, I posted the api-docs on the web site here: http://qpid.apache.org/proton/api-doc/ Right now it's just based on a recent snapshot, but hopefully soon I can set up some kind of automated update. --Rafael

Re: Proton engine api naming proposal

2012-10-05 Thread Rafael Schloming
On Thu, Oct 4, 2012 at 6:31 PM, Rob Godfrey rob.j.godf...@gmail.com wrote: On 4 October 2012 23:56, Justin Ross jr...@redhat.com wrote: On Wed, 3 Oct 2012, Justin wrote: On Wed, 3 Oct 2012, Rafael Schloming wrote: I believe the convention I'm following is actually the norm (for a good

RC2

2012-10-24 Thread Rafael Schloming
I've uploaded another release candidate here: http://people.apache.org/~rhs/qpid-proton-0.1rc2/ The following fixes were made: 1. the install step should now work without the documentation 2. the README has a note about root privileges 3. the tarball names/directory match 4. added

Re: initial release candidate

2012-10-24 Thread Rafael Schloming
On Wed, Oct 24, 2012 at 8:20 AM, Rob Godfrey rob.j.godf...@gmail.comwrote: The proton-j package doesn't seem to have a README or a LICENSE file included. The maven build can't run the tests as the directory structure doesn't include all the necessary files (nor does it have the same

Re: RC2

2012-10-24 Thread Rafael Schloming
I think this may be related to the cmake version. Can you guys run cmake -version and tell me what it reports? On Wed, Oct 24, 2012 at 10:17 AM, Rob Godfrey rob.j.godf...@gmail.comwrote: I get the same error on CentOS 6.3: [rob@seelachs build]$ cmake -DCMAKE_INSTALL_PREFIX=/usr .. -- The C

Re: RC2

2012-10-24 Thread Rafael Schloming
...@redhat.comwrote: On Wed, Oct 24, 2012 at 08:19:34AM -0400, Rafael Schloming wrote: I've uploaded another release candidate here: http://people.apache.org/~rhs/qpid-proton-0.1rc2/ The following fixes were made: 1. the install step should now work without the documentation 2. the README has

Re: RC2

2012-10-24 Thread Rafael Schloming
I believe I've fixed the detection of LIB_SUFFIX, we'll see in the next RC. --Rafael On Wed, Oct 24, 2012 at 10:36 AM, Rafael Schloming r...@alum.mit.edu wrote: I'm looking into why this isn't being auto detected properly. You can always override LIB_SUFFIX manually, i.e. add -DLIB_SUFFIX

Re: RC2

2012-10-24 Thread Rafael Schloming
On Wed, Oct 24, 2012 at 12:54 PM, Andrew Stitcher astitc...@redhat.comwrote: On Wed, 2012-10-24 at 11:27 -0400, Rafael Schloming wrote: According to the cmake docs for 2.6.x, the install (DIRECTORY ...) command doesn't have the OPTIONAL argument. Any ideas on how to work around

Re: RC2

2012-10-24 Thread Rafael Schloming
I'm a little stumped by this one. I'm thinking the compiler settings must be quite different from how we normally build, but I'm not sure why. --Rafael On Wed, Oct 24, 2012 at 11:03 AM, Darryl L. Pierce dpie...@redhat.comwrote: On Wed, Oct 24, 2012 at 10:36:11AM -0400, Rafael Schloming wrote

RC3

2012-10-24 Thread Rafael Schloming
I've put up an RC3 here: http://people.apache.org/~rhs/qpid-proton-0.1rc3/ The following are the changes from RC2: - added README and LICENSE for proton-j - updated the proton-c README - fixed cmake build to not use the OPTIONAL thing for older versions - fixed detection of LIB_SUFFIX

Re: RC3

2012-10-24 Thread Rafael Schloming
The examples should work without the config.sh, it just sets up stuff for the dev environment. If you do the make install, all the proton stuff should be available without any special environmental config. --Rafael On Wed, Oct 24, 2012 at 8:11 PM, William Henry whe...@redhat.com wrote: Are the

Re: RC3

2012-10-24 Thread Rafael Schloming
Can you post the contents of your install_manifest.txt? On Wed, Oct 24, 2012 at 9:50 PM, William Henry whe...@redhat.com wrote: Ok install was successful. Still have an ImportError for proton. Not sure what I'm missing William Sent from my iPhone On Oct 24, 2012, at 7:29 PM, Rafael

Re: RC3

2012-10-24 Thread Rafael Schloming
: Ok install was successful. Still have an ImportError for proton. Not sure what I'm missing William Sent from my iPhone On Oct 24, 2012, at 7:29 PM, Rafael Schloming r...@alum.mit.edu wrote: The examples should work without the config.sh, it just sets up

Re: RC3

2012-10-25 Thread Rafael Schloming
an ImportError for proton. Not sure what I'm missing William Sent from my iPhone On Oct 24, 2012, at 7:29 PM, Rafael Schloming r...@alum.mit.edu wrote: The examples should work without the config.sh, it just sets up stuff

Re: initial release candidate

2012-10-25 Thread Rafael Schloming
On Thu, Oct 25, 2012 at 8:18 AM, Ken Giusti kgiu...@redhat.com wrote: The following patch fixes the problem with older versions of the SSL library. It also works on the latest Fedora 17, so I think it's low risk. Shall I commit it? Sure --Rafael

Re: RC3

2012-10-25 Thread Rafael Schloming
Can you dig out the generated swig code from your build tree and post the snippet being referenced? --Rafael On Thu, Oct 25, 2012 at 9:15 AM, Ken Giusti kgiu...@redhat.com wrote: Fix committed for NAME_MAX. But now this on trunk as well as RC3 (again Centos5 x64): [ 91%] Building C object

Re: RC3

2012-10-25 Thread Rafael Schloming
What's libgen.h? Is that available on windows? --Rafael On Thu, Oct 25, 2012 at 10:38 AM, Darryl L. Pierce dpie...@redhat.comwrote: On Wed, Oct 24, 2012 at 03:29:44PM -0400, Rafael Schloming wrote: I've put up an RC3 here: http://people.apache.org/~rhs/qpid-proton-0.1rc3

Re: RC3

2012-10-25 Thread Rafael Schloming
of the Visual Studio compiler header files I've been doing #ifdef (s) around the header files. E.g. #include unistd.h #include stdbool.h -Original Message- From: Rafael Schloming [mailto:r...@alum.mit.edu] Sent: Thursday, October 25, 2012 10:49 AM To: proton@qpid.apache.org

Re: RC3

2012-10-25 Thread Rafael Schloming
I've fixed the ignored write value on trunk, but I suspect you're somehow building with a different set of compiler flags as I don't see this issue when I build on f17 myself. You can try the next RC, but there may other problems if the flags you're building with don't match what we've been

RC4

2012-10-25 Thread Rafael Schloming
I've posted an RC4 here: http://people.apache.org/~rhs/qpid-proton-0.1rc4/ I believe both the koji issue and the decimal64 issue should be fixed now. The full changelog from the previous RC is here: r1402224 | rhs |

Re: RC4

2012-10-25 Thread Rafael Schloming
Ok, I'm -1ing this one because ken's ssl fix didn't make it in. Sorry for the churn. RC5 will be up shortly with ken's ssl fix in it. --Rafael On Thu, Oct 25, 2012 at 1:42 PM, Rafael Schloming r...@alum.mit.edu wrote: I've posted an RC4 here: http://people.apache.org/~rhs/qpid-proton

RC5

2012-10-25 Thread Rafael Schloming
Please have a look. This one includes ken's ssl fix in addition to everything that was in RC4: http://people.apache.org/~rhs/qpid-proton-0.1rc5/

Re: RC5

2012-10-25 Thread Rafael Schloming
not known) all other tests passed -- Rob On 25 October 2012 22:07, Rafael Schloming r...@alum.mit.edu wrote: Please have a look. This one includes ken's ssl fix in addition to everything that was in RC4: http://people.apache.org/~rhs/qpid-proton-0.1rc5/

Re: RC5

2012-10-25 Thread Rafael Schloming
This was my bad, I'll post an RC6 with the shim fixed. --Rafael On Thu, Oct 25, 2012 at 5:35 PM, Rajith Attapattu rajit...@gmail.comwrote: We have a build failure on the java side. It appears the SSL tests added in Kens fix is failing. proton_tests.ssl.SslTest.test_client_authentication

RC6

2012-10-25 Thread Rafael Schloming
I put up an RC6 here[1] with the java shim fixed so the SSL tests skip properly. That's the only change from RC5. [1] http://people.apache.org/~rhs/qpid-proton-0.1rc6/ --Rafael

Re: RC6

2012-10-26 Thread Rafael Schloming
] We should move [1] under the proton main dir. Regards, Rajith [1] https://svn.apache.org/repos/asf/qpid/trunk/qpid/KEYS On Thu, Oct 25, 2012 at 8:38 PM, Rafael Schloming r...@alum.mit.edu wrote: I put up an RC6 here[1] with the java shim fixed so the SSL tests skip

acks for messenger

2012-10-26 Thread Rafael Schloming
I'm taking a look at expanding the messenger API to support reliability and so far there seem to be two directions to explore which I'll attempt to describe below: Option 1) Messenger.ack(Message) or possibly Message.ack() I'll describe this as the simple/expected/conservative option, and

RC7

2012-10-26 Thread Rafael Schloming
Lucky number 7 posted here: http://people.apache.org/~rhs/qpid-proton-0.1rc7/ Only changes from RC6 are added LICENSE headers and two minor fixes to the Java SASL implementation (PROTON-103). --Rafael

Re: acks for messenger

2012-10-29 Thread Rafael Schloming
your mind, it's not hard to level up. Justin On Fri, 26 Oct 2012, Rafael Schloming wrote: I'm taking a look at expanding the messenger API to support reliability and so far there seem to be two directions to explore which I'll attempt to describe below: Option 1

delivery vs tracker

2012-10-30 Thread Rafael Schloming
One of the more vague points of the favored option 2 was what exactly put/get returns, i.e. the Delivery/Tracking-Number/Whatever thing. Once again there are two somewhat different directions we could proceed here: Option 1) (aka the red pill) Delivery (or something that is 1-1 with delivery).

Re: [VOTE] RC8

2012-10-31 Thread Rafael Schloming
, 2012 at 09:32:55PM -0400, Rafael Schloming wrote: I'm optimistically starting an official release vote for RC8 here. I'm hoping if there is enough support and no procedural objections we can fudge the 72 hour formal vote process down to 24 hours. I personally think this is reasonable because

Re: review request: patch to cmake for windows builds

2012-11-01 Thread Rafael Schloming
FWIW, a lot of the patches that have been made to the build system so far were taken from the cpp broker's build and to be honest when you push for the reason they were done that way there is sometimes a good reason and sometimes no good reason, and sometimes a reason that doesn't apply to proton.

0.2 RC1

2012-11-02 Thread Rafael Schloming
Hi Everyone, I've posted 0.2 RC1 here: http://people.apache.org/~rhs/qpid-proton-0.2rc1/ Please check it out, I've appended the change log from 0.1, it's not a huge delta. The short summary is: - a few packaging tweaks - a smattering of small bug fixes - messenger support for

0.2 RC2

2012-11-02 Thread Rafael Schloming
Hi, I put a new RC up with the library versions fixed. This shouldn't invalidate any testing done on RC1, but for additional testing please use RC2: http://people.apache.org/~rhs/qpid-proton-0.2rc2/ --Rafael

[VOTE] 0.2 RC3

2012-11-04 Thread Rafael Schloming
Hi, I did a bit more testing over the weekend and posted an RC3 here: http://people.apache.org/~rhs/qpid-proton-0.2rc3 The only changes are fixing a minor bug in the ack stuff and adding the C examples. Given that the delta from 0.1 is quite contained, I'm going to optimistically call for a

Re: [VOTE] 0.2 RC3

2012-11-05 Thread Rafael Schloming
-1 Sadly I have to vote against myself due to a bug I just found. Will follow up with RC4 presently. --Rafael On Sun, Nov 4, 2012 at 7:09 PM, Rafael Schloming r...@alum.mit.edu wrote: Hi, I did a bit more testing over the weekend and posted an RC3 here: http://people.apache.org/~rhs/qpid

[VOTE] 0.2 RC4

2012-11-05 Thread Rafael Schloming
Posted here: http://people.apache.org/~rhs/qpid-proton-0.2rc4/ [ ] Ship it! (Release RC4 as 0.2) [ ] No (We need another RC because...) The only difference between RC3 and RC4 for proton-c is a one line change in engine.c that ensures that pn_transport_output will not fail to produce output

Re: [VOTE] 0.2 RC4

2012-11-05 Thread Rafael Schloming
On Mon, Nov 5, 2012 at 3:54 PM, Darryl L. Pierce dpie...@redhat.com wrote Will the final, official URL for the source be: http://www.apache.org/dist/proton/$VER/qpid-proton-c-$VER.tar.gz ? I'd like to clean up another rpmlint error where it doesn't like a non-URI value for the source.

Re: [VOTE] 0.2 RC4

2012-11-05 Thread Rafael Schloming
-c-0.1.tar.gz --Rafael Robbie On 5 November 2012 16:11, Rafael Schloming r...@alum.mit.edu wrote: On Mon, Nov 5, 2012 at 3:54 PM, Darryl L. Pierce dpie...@redhat.com wrote Will the final, official URL for the source be: http://www.apache.org/dist/proton/$VER/qpid-proton-c

Re: [VOTE] qpid-proton 0.2 maven binaries

2012-11-08 Thread Rafael Schloming
+1 On Thu, Nov 8, 2012 at 6:25 PM, Justin Ross jr...@redhat.com wrote: [X] Release the 0.2 binaries [ ] No (they're not good because...) Justin On Wed, 7 Nov 2012, Ted Ross wrote: The binaries for the proton-j 0.2 source packages have been deployed in the Apache Nexus Repository.

messenger acks

2012-11-12 Thread Rafael Schloming
Hi Everyone, I was a bit slammed leading up to the 0.2 release, and I didn't get a chance to wrap up any of the ack threads, so I thought I'd post a summary of what I actually ended up doing. Please check out the docs for more details, but I'll describe briefly the interface changes in C first

Re: delivery vs tracker

2012-11-12 Thread Rafael Schloming
On Wed, Oct 31, 2012 at 7:45 PM, Justin Ross jr...@redhat.com wrote: On Wed, 31 Oct 2012, Darryl L. Pierce wrote: On Tue, Oct 30, 2012 at 08:15:42AM -0400, Rafael Schloming wrote: My inclination is to persue option 2 for the following reasons: - Option 1 introduces more burden since

Re: Using script-native drivers for Proton messenger bindings

2012-11-14 Thread Rafael Schloming
On Wed, Nov 14, 2012 at 10:36 PM, Ted Ross tr...@redhat.com wrote: On 11/14/2012 12:56 PM, Rafael Schloming wrote: On Wed, Nov 14, 2012 at 6:37 PM, Ted Ross tr...@redhat.com wrote: On 11/14/2012 11:49 AM, Rafael Schloming wrote: How does the packaging prevent this? 1) Develop

Re: Language example apps...

2012-11-30 Thread Rafael Schloming
On Tue, Nov 20, 2012 at 2:34 PM, Darryl L. Pierce dpie...@redhat.comwrote: Last week Justin asked me to take a look at the examples for Proton across language bindings. What I found are the following: C Python Ruby Perl Mailbox (Raw API)[

Re: Problems building and running proton-c on Linux RHEL 5

2012-12-05 Thread Rafael Schloming
On Thu, Nov 29, 2012 at 11:13 AM, Phil Harvey p...@philharveyonline.comwrote: I'm having problems building and running proton-c on my machine. I'm hitting two problems so far: - I get an Unable to find 'php.swg' error. A web search suggests that this relates to the version of swig I have

Re: Perl language bindings are now pushed...

2012-12-05 Thread Rafael Schloming
On Wed, Dec 5, 2012 at 8:18 AM, Darryl L. Pierce dpie...@redhat.com wrote: On Tue, Dec 04, 2012 at 05:24:25PM -0500, Andrew Stitcher wrote: On Thu, 2012-11-29 at 17:16 -0500, Darryl L. Pierce wrote: I've pushed the Perl language bindings as well as the send/recv examples for using the

Re: Perl language bindings are now pushed...

2012-12-05 Thread Rafael Schloming
On Wed, Dec 5, 2012 at 9:45 AM, Alan Conway acon...@redhat.com wrote: On Wed, 2012-12-05 at 08:55 -0500, Rafael Schloming wrote: On Wed, Dec 5, 2012 at 8:18 AM, Darryl L. Pierce dpie...@redhat.com wrote: On Tue, Dec 04, 2012 at 05:24:25PM -0500, Andrew Stitcher wrote: On Thu, 2012-11

Re: Perl language bindings are now pushed...

2012-12-05 Thread Rafael Schloming
On Wed, Dec 5, 2012 at 9:52 AM, Darryl L. Pierce dpie...@redhat.com wrote: On Wed, Dec 05, 2012 at 08:18:06AM -0500, Darryl L. Pierce wrote: It seems like this new stuff just ignores CMAKE_INSTALL_PREFIX. Yeah, it appears that the CMake configuration for Proton doesn't do what Qpid's

Re: Perl language bindings are now pushed...

2012-12-05 Thread Rafael Schloming
On Wed, Dec 5, 2012 at 1:12 PM, Darryl L. Pierce dpie...@redhat.com wrote: On Wed, Dec 05, 2012 at 11:12:02AM -0500, Rafael Schloming wrote: On Wed, Dec 5, 2012 at 9:52 AM, Darryl L. Pierce dpie...@redhat.com wrote: On Wed, Dec 05, 2012 at 08:18:06AM -0500, Darryl L. Pierce wrote

Re: Perl language bindings are now pushed...

2012-12-05 Thread Rafael Schloming
On Wed, Dec 5, 2012 at 2:50 PM, Andrew Stitcher astitc...@redhat.comwrote: On Wed, 2012-12-05 at 11:12 -0500, Rafael Schloming wrote: On Wed, Dec 5, 2012 at 9:52 AM, Darryl L. Pierce dpie...@redhat.com wrote: On Wed, Dec 05, 2012 at 08:18:06AM -0500, Darryl L. Pierce wrote: It seems

Re: Perl language bindings are now pushed...

2012-12-05 Thread Rafael Schloming
On Wed, Dec 5, 2012 at 4:38 PM, Darryl L. Pierce dpie...@redhat.com wrote: On Wed, Dec 05, 2012 at 03:08:24PM -0500, Rafael Schloming wrote: Okay, then a developer has to explicitly override the INI directory each time. For the EXT and INCLUDE directories it's easy to do what we're

Re: Perl language bindings are now pushed...

2012-12-06 Thread Rafael Schloming
On Thu, Dec 6, 2012 at 1:05 PM, Andrew Stitcher astitc...@redhat.comwrote: On Wed, 2012-12-05 at 17:51 -0500, Rafael Schloming wrote: On Wed, Dec 5, 2012 at 4:38 PM, Darryl L. Pierce dpie...@redhat.com wrote: I disagree: Are you disagreeing with me or Darryl or both? ;-) There are two

Re: Perl language bindings are now pushed...

2012-12-06 Thread Rafael Schloming
On Thu, Dec 6, 2012 at 1:35 PM, Andrew Stitcher astitc...@redhat.comwrote: On Thu, 2012-12-06 at 13:24 -0500, Rafael Schloming wrote: ... The best way to cater to the developer scenario you mention is to simply look at install_manifest.txt. This file is generated whenever you type make

Re: Engine API naming

2012-12-14 Thread Rafael Schloming
On Thu, Dec 13, 2012 at 5:37 PM, Justin jr...@redhat.com wrote: I've found the whole process of proposing API review dispiriting. You can, of course, take it or leave it. I in no way wish to claim I have better choices. I only wish to point out things that might deserve more deliberation.

Re: Engine API naming

2012-12-14 Thread Rafael Schloming
On Thu, Dec 13, 2012 at 5:37 PM, Justin jr...@redhat.com wrote: API usability is important and deserves attention. Take, for instance, DeliveryState versus Disposition. That only serves to confuse people. It's a difference that has no content. I also think link.drained and link.offered

Re: Contrib under proton-c?

2012-12-18 Thread Rafael Schloming
Do you have something in mind to put there? --Rafael On Mon, Dec 17, 2012 at 6:08 PM, Ted Ross tr...@redhat.com wrote: We've added a contrib directory under proton-j. Does anyone object to putting one in the proton-c directory as well? -Ted

Re: 0.3 RC1

2012-12-21 Thread Rafael Schloming
On Fri, Dec 21, 2012 at 9:32 AM, Ken Giusti kgiu...@redhat.com wrote: Ok, thanks Darryl - I'll give it a try. In any case, the README file in the release candidate needs to be updated - I imagine most folks just starting out with proton want to be able to evaluate it without needing root

Re: Updating versions (was: 0.3 RC1)

2013-01-02 Thread Rafael Schloming
On Wed, Jan 2, 2013 at 11:42 AM, Darryl L. Pierce dpie...@redhat.comwrote: On Thu, Dec 20, 2012 at 02:02:27PM -0500, Rafael Schloming wrote: Sources posted here: http://people.apache.org/~rhs/qpid-proton-0.3rc1/ Java binaries here: https://repository.apache.org/content/repositories

Re: inconsistent proton library names?

2013-01-04 Thread Rafael Schloming
On Fri, Jan 4, 2013 at 11:04 AM, Ted Ross tr...@redhat.com wrote: Phil, The only shared-object in that list that is a proper library is libqpid-proton.so. The others are extension modules for their various scripting languages. I'm not 100% sure, but I believe that the naming conventions

Re: Updating versions (was: 0.3 RC1)

2013-01-04 Thread Rafael Schloming
On Thu, Jan 3, 2013 at 7:11 AM, Darryl L. Pierce dpie...@redhat.com wrote: On Wed, Jan 02, 2013 at 12:54:34PM -0500, Rafael Schloming wrote: We need to make it a part of the release process to bump the release number in the following files: proton-c/CMakeLists.txt proton-c

Re: inconsistent proton library names?

2013-01-04 Thread Rafael Schloming
On Fri, Jan 4, 2013 at 2:58 PM, Phil Harvey p...@philharveyonline.comwrote: Thanks for the responses guys. That all makes sense. The only change that I'd propose is therefore that the Perl and Java bindings: bindings/perl/libcproton_perl.so bindings/java/libproton-swig.so ... should both

Re: inconsistent proton library names?

2013-01-04 Thread Rafael Schloming
On Fri, Jan 4, 2013 at 3:15 PM, Darryl L. Pierce dpie...@redhat.com wrote: On Fri, Jan 04, 2013 at 07:58:10PM +, Phil Harvey wrote: Thanks for the responses guys. That all makes sense. The only change that I'd propose is therefore that the Perl and Java bindings:

Re: Updating versions (was: 0.3 RC1)

2013-01-04 Thread Rafael Schloming
On Fri, Jan 4, 2013 at 1:22 PM, Darryl L. Pierce dpie...@redhat.com wrote: On Fri, Jan 04, 2013 at 11:21:07AM -0500, Rafael Schloming wrote: I pushed a patch this morning that bumped the Perl and Ruby versions. Can you please include that in RC2? Thanks. That will be picked up

Re: inconsistent proton library names?

2013-01-04 Thread Rafael Schloming
, Jan 04, 2013 at 03:32:44PM -0500, Rafael Schloming wrote: Given what little I know of loading JNI stuff, that seems to make sense for Java. FWIW, the python and ruby bindings don't ever actually expose the name of the C extension library since in both cases we have the so-called

0.3 RC2

2013-01-05 Thread Rafael Schloming
Hi, I've posted a 0.3 RC2. Sources are here: http://people.apache.org/~rhs/qpid-proton-0.3rc2/ Java binaries are here: https://repository.apache.org/content/repositories/orgapacheqpid-102/ The following fixes have been made since RC1: - bumped proton version numbers to 0.3 - python binding

Re: [VOTE] 0.3 RC3

2013-01-14 Thread Rafael Schloming
, Rafael Schloming wrote: Source is here: http://people.apache.org/~rhs/**qpid-proton-0.3rc3/http://people.apache.org/~rhs/qpid-proton-0.3rc3/ Java binaries are here: https://repository.apache.org/**content/repositories/**orgapacheqpid-118/https://repository.apache.org/content/repositories

Re: Is Proton a lightweight alternative to Qpid?

2013-01-15 Thread Rafael Schloming
On Mon, Jan 14, 2013 at 11:14 AM, Eagy, Taylor te...@blackbirdtech.comwrote: Hi guys, I've been using Qpid for the past several months and I really like it. However, I've mainly just been using it to pass messages between several Python processes running on the same machine, so using Qpid

Re: Messenger API - what am I missing?

2013-01-15 Thread Rafael Schloming
On Tue, Jan 15, 2013 at 9:33 AM, Simon MacMullen si...@rabbitmq.com wrote: Hi. I'm interested in testing Proton against the RabbitMQ AMQP 1.0 adapter. But I'm struggling with the APIs I need to use to write even a simple program. I'm using the Java version but from what I can see the C

Re: [VOTE] 0.3 RC3

2013-01-15 Thread Rafael Schloming
The staging repo has been released, the RCs were copied over to dist last night, and the download page was updated this morning. I've also created a 0.3 branch. --Rafael On Mon, Jan 14, 2013 at 4:31 PM, Darryl L. Pierce dpie...@redhat.comwrote: On Mon, Jan 14, 2013 at 02:14:26PM -0500, Rafael

Re: Subscribing to multiple queue names on the same host/port

2013-01-17 Thread Rafael Schloming
On Thu, Jan 17, 2013 at 10:06 AM, Eagy, Taylor te...@blackbirdtech.comwrote: One of the nice things I liked about the Java Qpid broker was that you could create multiple queues bound on the same host:port using the virutualhosts.xml config. When I try subscribing to

Re: Subscribing to multiple queue names on the same host/port

2013-01-17 Thread Rafael Schloming
() self.messenger.start() msg = Message() msg.address = self.address msg.body = data msg.properties = props msg.durable = True self.messenger.put(msg) self.messenger.send() Thanks, Taylor From: Rafael Schloming [r...@alum.mit.edu] Sent

Re: Proton Messenger and the Request/Response pattern

2013-01-18 Thread Rafael Schloming
Gordon makes some good points. I'd like to add that I think historically a big part of the hassle isn't actually necessarily solely the API but also having to configure and manage the intermediary, and I think we need to look there as well if we want to simplify the overall pattern. It's also

Re: mailing lists and fragmented communication

2013-01-18 Thread Rafael Schloming
I think you raise a good point about the goals of the project being confused, but don't think the cause here is mailing lists. As we've seen, recent threads have asked about qpid vs proton, and to a lot of us this is an odd thing to ask about because we think of proton as part of qpid. However we

Re: Changing the Proton build system to accommodate jni bindings

2013-01-21 Thread Rafael Schloming
On Mon, Jan 21, 2013 at 9:33 AM, Rob Godfrey rob.j.godf...@gmail.comwrote: Ummm... it's a dependency... you're familiar with those, yeah? The same way that the Qpid JMS clients depend on a JMS API jar, for which the source is readily available from another source. The JNI binding would build

Re: mailing lists and fragmented communication

2013-01-21 Thread Rafael Schloming
It's really about architecture and audience and how they interact. The architecture we are currently developing is closely modelled on the existing architecture of the internet. At the lowest layer the TCP stack provides a very general purpose protocol to a very wide range of applications. This is

  1   2   3   4   5   6   >