Re: Proton-J Reactor sending delay

2016-02-26 Thread Robbie Gemmell
It looks to already be configurable, e.g. you could call the same method to update the value from the thread running the reactor, perhaps in the onReactorInit() handler. That said, I'm not sure youd would normally want to, except maybe to increase it, which is presumably not what you were thinking

Re: Proton-J Reactor sending delay

2016-02-26 Thread Robbie Gemmell
Yes, where/when/how send is being called might be important, thats one reason why I asked for an example showing the behaviour. The java reactor does also has a wakeup method to prod the thread blocked in process() to life, which notes itself to be the only method you can call at the same time

Re: Proton-J Reactor sending delay

2016-02-26 Thread Bozo Dragojevic
On 26. 02. 16 15.36, Bozo Dragojevic wrote: > Iiuc, calling anything except wakeup from outside the reactor thread is > forbidden. > > Reactor (whole proton-c and proton-j) has no locks to protect against > such use. > > The general pattern is to trigger your application from a handler for > 'on

Re: Proton-J Reactor sending delay

2016-02-26 Thread Bozo Dragojevic
Iiuc, calling anything except wakeup from outside the reactor thread is forbidden. Reactor (whole proton-c and proton-j) has no locks to protect against such use. The general pattern is to trigger your application from a handler for 'on reactor init' and add that handler to the reactor before

[jira] [Commented] (PROTON-1138) Assorted C++ API cleanups

2016-02-26 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15169197#comment-15169197 ] ASF subversion and git services commented on PROTON-1138: - Commit

[jira] [Commented] (PROTON-1073) Building tests for C++ bindings seems to be broken on OSX 10.11/Xcode 7.1.1

2016-02-26 Thread Ollivier Robert (JIRA)
[ https://issues.apache.org/jira/browse/PROTON-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15169588#comment-15169588 ] Ollivier Robert commented on PROTON-1073: - I think it can be closed, I managed to compile 0.12.0