proton-j reactor implementation?

2015-03-29 Thread Adrian Preston
Hello all, I've been following the development of the reactor API and think that it looks really neat. Is anyone working on a pure Java version? I'd be interested in helping. Regards - Adrian Unless stated otherwise above: IBM United Kingdom Limited -

Error handling in the proton-c reactor (and how it might relate to a Java port)

2015-04-23 Thread Adrian Preston
Hello all, While porting the proton-c reactor to Java, I've found a few error paths that I wasn't sure how best to handle. I have some ideas (see below), but if this stuff is already written down somewhere - feel free to suitably admonish me (and then point me towards it...) 1) When an error

Re: Error handling in the proton-c reactor (and how it might relate to a Java port)

2015-04-27 Thread Adrian Preston
...@alum.mit.edu wrote: Hi Adrian, See inline for answers... On Thu, Apr 23, 2015 at 12:17 PM, Adrian Preston prest...@uk.ibm.com wrote: Hello all, While porting the proton-c reactor to Java, I've found a few error paths that I wasn't sure how best to handle. I have some ideas (see below

Re: Question about pn_reactor and threads.

2015-04-30 Thread Adrian Preston
Hi Alan, I've been playing with the reactor a bit, and one of my early thoughts was: how do you scale this thing across multiple cores? The architecture I've worked with before uses (approximately) one selector + thread pair per core and balances connections across the selectors. Anything

Re: [jira] [Commented] (PROTON-877) proton-c sasl client hangs on server pipeline

2015-05-06 Thread Adrian Preston
Oh dear. I think I might have confused ASF GitHub Bot. This is a PR relating to PROTON-881, in which I (foolishly) mentioned ROTON-877... Regards - Adrian Adrian Preston, IBM WebSphere MQ Development - Hursley - MQ Light -ASF GitHub Bot (JIRA) j...@apache.org wrote: - To: proton

Re: proton-j reactor branch

2015-06-15 Thread Adrian Preston
: Re: proton-j reactor branch On Mon, Jun 15, 2015 at 3:07 PM, Adrian Preston prest...@uk.ibm.com wrote:   3) Write Jython shims do the existing Python tests can run against the      Proton-J reactor. I have much of this done in my local checkout, I just need to patch it up a bit and push

[jira] [Updated] (PROTON-811) [PATCH] proton-j: no way to implement idle timeout of a connection

2015-02-03 Thread Adrian Preston (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Preston updated PROTON-811: -- Attachment: 0001-proton-j-updates-for-idle-timeout-mk4.patch Reworked the patch to fix

[jira] [Updated] (PROTON-811) [PATCH] proton-j: no way to implement idle timeout of a connection

2015-01-29 Thread Adrian Preston (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Preston updated PROTON-811: -- Attachment: 0001-idle_timeout.patch Patch attached. [PATCH] proton-j: no way to implement

[jira] [Created] (PROTON-811) [PATCH] proton-j: no way to implement idle timeout of a connection

2015-01-29 Thread Adrian Preston (JIRA)
Adrian Preston created PROTON-811: - Summary: [PATCH] proton-j: no way to implement idle timeout of a connection Key: PROTON-811 URL: https://issues.apache.org/jira/browse/PROTON-811 Project: Qpid

[jira] [Updated] (PROTON-811) [PATCH] proton-j: no way to implement idle timeout of a connection

2015-01-29 Thread Adrian Preston (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Preston updated PROTON-811: -- Component/s: (was: perl-binding) proton-j [PATCH] proton-j: no way

[jira] [Updated] (PROTON-811) [PATCH] proton-j: no way to implement idle timeout of a connection

2015-02-01 Thread Adrian Preston (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Preston updated PROTON-811: -- Attachment: 0001-proton-j-updates-for-idle-timeout-mk3.patch Updated patch

[jira] [Commented] (PROTON-811) [PATCH] proton-j: no way to implement idle timeout of a connection

2015-01-29 Thread Adrian Preston (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14297487#comment-14297487 ] Adrian Preston commented on PROTON-811: --- Hi Rafael, Thanks for the feedback - I'll

[jira] [Commented] (PROTON-811) [PATCH] proton-j: no way to implement idle timeout of a connection

2015-01-30 Thread Adrian Preston (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14298521#comment-14298521 ] Adrian Preston commented on PROTON-811: --- Once again, thanks for the quick feedback

[jira] [Created] (PROTON-869) [proton-c] should be straightforward to associate handlers with acceptors

2015-04-27 Thread Adrian Preston (JIRA)
Adrian Preston created PROTON-869: - Summary: [proton-c] should be straightforward to associate handlers with acceptors Key: PROTON-869 URL: https://issues.apache.org/jira/browse/PROTON-869 Project

[jira] [Updated] (PROTON-869) [proton-c] should be straightforward to associate handlers with acceptors

2015-04-27 Thread Adrian Preston (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Preston updated PROTON-869: -- Attachment: proton-869.patch This patch adds a new pn_acceptor_attachments function, which

[jira] [Created] (PROTON-881) Proton-j reactor implementation

2015-05-06 Thread Adrian Preston (JIRA)
Adrian Preston created PROTON-881: - Summary: Proton-j reactor implementation Key: PROTON-881 URL: https://issues.apache.org/jira/browse/PROTON-881 Project: Qpid Proton Issue Type

[jira] [Commented] (PROTON-877) proton-c sasl client hangs on server pipeline

2015-05-06 Thread Adrian Preston (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14531717#comment-14531717 ] Adrian Preston commented on PROTON-877: --- The patch works for me in that I can now