Re: Getting -9 when setting blocking to 0 in Perl

2014-01-09 Thread Darryl L. Pierce
On Thu, Jan 09, 2014 at 10:19:36AM -0500, Rafael Schloming wrote: Well, proton/error.h defines -9 to be PN_INPROGRESS, however given that this is the source code of pn_messenger_set_blocking: int pn_messenger_set_blocking(pn_messenger_t *messenger, bool blocking) { messenger-blocking =

Re: Getting -9 when setting blocking to 0 in Perl

2014-01-09 Thread Rafael Schloming
Well, proton/error.h defines -9 to be PN_INPROGRESS, however given that this is the source code of pn_messenger_set_blocking: int pn_messenger_set_blocking(pn_messenger_t *messenger, bool blocking) { messenger-blocking = blocking; return 0; } I don't see how it's possible for it to return

[jira] [Created] (PROTON-484) Disposition Frane: Missing DeliveryState, no default outcome

2014-01-09 Thread Andreas Mueller (JIRA)
Andreas Mueller created PROTON-484: -- Summary: Disposition Frane: Missing DeliveryState, no default outcome Key: PROTON-484 URL: https://issues.apache.org/jira/browse/PROTON-484 Project: Qpid Proton

Proton-C: How to set application properties?

2014-01-09 Thread Andreas Mueller
Hi, I don't find a way to set the application properties of a message in Proton-C. Can someone give me a hint? Is there something like a user guide or getting started docs about Messenger? Thanks, Andreas -- Andreas Mueller IIT Software GmbH, Bremen/Germany http://www.swiftmq.com IIT

Re: Proton-C: How to set application properties?

2014-01-09 Thread Rafael Schloming
On Thu, Jan 9, 2014 at 11:12 AM, Andreas Mueller a...@iit.de wrote: Hi, I don't find a way to set the application properties of a message in Proton-C. Can someone give me a hint? You should be able to access the application properties like this: pn_data_t *properties =

[jira] [Commented] (PROTON-484) Disposition Frane: Missing DeliveryState, no default outcome

2014-01-09 Thread Rafael H. Schloming (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13867050#comment-13867050 ] Rafael H. Schloming commented on PROTON-484: I believe the sort of disposition

Re: Getting -9 when setting blocking to 0 in Perl

2014-01-09 Thread Darryl L. Pierce
On Thu, Jan 09, 2014 at 03:19:52PM -0500, Rafael Schloming wrote: In the case of the C API getting a PN_INPROGRESS error (-9) from recv is expected behaviour if you're in non blocking mode. That just means that there is blocking work that was deferred. Okay, that explains why it didn't start