Re: Proton-j settle modes

2014-03-05 Thread Piotr Kliczewski
know if I've just confused things further. ;-) --Rafael On Mon, Mar 3, 2014 at 9:59 AM, Piotr Kliczewski piotr.kliczew...@gmail.com wrote: Rafael. I have simple communication up and running using engine api. When I send a message by calling send method on Sender object I need to wait

Re: Proton-j settle modes

2014-03-05 Thread Piotr Kliczewski
Rafael, I found ProtocolTracker but it is run before not after a frame handler. Is there any other mechanism? Thanks, Piotr On Wed, Mar 5, 2014 at 2:43 PM, Piotr Kliczewski piotr.kliczew...@gmail.com wrote: Rafael, Thank you for the explanation is clearer for me now. Can you tell me what

Re: Proton-j settle modes

2014-03-05 Thread Piotr Kliczewski
be pretty convenient depending on what you're trying to do. FYI, I'm expecting to cut an RC for 0.7 by next week, so you'd have a released version to work from before long. --Rafael On Wed, Mar 5, 2014 at 9:55 AM, Piotr Kliczewski piotr.kliczew...@gmail.com wrote: Rafael, I found

Proton-j settle modes

2014-03-03 Thread Piotr Kliczewski
Rafael. I have simple communication up and running using engine api. When I send a message by calling send method on Sender object I need to wait on reply and then I can settle. My communication is asynchronous so I do not want to wait. I suspect that it is related to the settle modes that I set

Re: Proton-j threading

2014-02-26 Thread Piotr Kliczewski
, Feb 26, 2014 at 8:21 AM, Piotr Kliczewski piotr.kliczew...@gmail.com wrote: Rafael, I implemented my own Driver as you suggested and noticed issue just after running createConnector method. I want to send a single message and I have single thread to receive potential messages. During

Proton-j threading

2014-02-25 Thread Piotr Kliczewski
Hello, In the java doc for Driver interface I see: Unless otherwise stated, methods on Driver implementations are not necessarily thread-safe. and during testing I got: Exception in thread Proton Reactor java.util.ConcurrentModificationException at

Re: SSL in proton-j

2014-02-24 Thread Piotr Kliczewski
own SSLEngine to provide encryption. The SSL stuff on the Java side is slated for a bit of a cleanup as soon as I have some time for it. If you file a JIRA for this capability it should be straightforward to include at that point. --Rafael On Thu, Feb 20, 2014 at 7:03 AM, Piotr Kliczewski

Re: Proton interop for java and python

2014-02-24 Thread Piotr Kliczewski
the defaulting is broken on whatever version you are using. --Rafael On Fri, Feb 21, 2014 at 9:02 AM, Piotr Kliczewski piotr.kliczew...@gmail.com wrote: Hello, I am sending message from java to python. Python code uses sasl authentication. During processing response from python code I see

Re: Proton interop for java and python

2014-02-24 Thread Piotr Kliczewski
Rafael, After adding container name in python the code do not throw NPE anymore. Thanks for the hint, Piotr On Mon, Feb 24, 2014 at 10:36 AM, Piotr Kliczewski piotr.kliczew...@gmail.com wrote: Rafael, I pulled the latest from git.apache.org. The stack trace looks like NPE is thrown during

Proton interop for java and python

2014-02-21 Thread Piotr Kliczewski
Hello, I am sending message from java to python. Python code uses sasl authentication. During processing response from python code I see following exception. Can you tell me how to set the container-id in python? Piotr Exception in thread main org.apache.qpid.proton.engine.TransportException:

SSL in proton-j

2014-02-20 Thread Piotr Kliczewski
Hello, Is there a way to use jks files for SSLContext configuration in proton-j? I noticed that in SslEngineFacadeFactory there is only a path to privatekey and certificate and single password which is not really used. I would like to be able to use my own keymanager and trustmanager arrays or

Proton-j example

2014-02-19 Thread Piotr Kliczewski
Hello, Where can I find example how to use proton-j api? I would like to see how to configure ssl and sasl. Piotr - To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: