Re: CorrelationId

2014-10-08 Thread Fraser Adams
On 08/10/14 18:49, Rafael Schloming wrote: On Wed, Oct 8, 2014 at 1:30 PM, Fraser Adams wrote: On 08/10/14 08:16, xavier wrote: Hi Frase, Thanks for your explanation, but here, my code: In the requester: char * corrId; . . pn_bytes_t bytes = pn_bytes(correlationId.size(), corrId)

Re: CorrelationId

2014-10-08 Thread Rafael Schloming
On Wed, Oct 8, 2014 at 1:30 PM, Fraser Adams wrote: > On 08/10/14 08:16, xavier wrote: > >> Hi Frase, >> >> Thanks for your explanation, but here, my code: >> >> In the requester: >> >> char * corrId; >> . >> . >> pn_bytes_t bytes = pn_bytes(correlationId.size(), corrId); >> pn_atom_t id

Re: CorrelationId

2014-10-08 Thread Fraser Adams
On 08/10/14 08:16, xavier wrote: Hi Frase, Thanks for your explanation, but here, my code: In the requester: char * corrId; . . pn_bytes_t bytes = pn_bytes(correlationId.size(), corrId); pn_atom_t id; id.type = PN_STRING; id.u.as_bytes = bytes; pn_message_set_correlation_id(message, i

Re: Proton tutorial: synchronous request-response

2014-10-08 Thread Rafael Schloming
On Wed, Oct 8, 2014 at 4:40 AM, uromahn wrote: > I just found the proton-demo repo in Github myself and then noticed this > post. > > Good examples and thanks Rafael for putting in the work to write them for > folks like me who are struggling to comprehend proton-j and how to actually > use it. I

proton-j 0.7 with SSL throws Exception at large messages

2014-10-08 Thread Dr. Frank Heuschen
Hi, I am developing an application that acts as an AMQP Client, using an SSL connection on a topic. The messages received on this topic are quite large and for each message I catch the following Exception: java.nio.BufferOverflowException at java.nio.HeapByteBuffer.put(Unknown Sour

Re: Proton tutorial: synchronous request-response

2014-10-08 Thread uromahn
I just found the proton-demo repo in Github myself and then noticed this post. Good examples and thanks Rafael for putting in the work to write them for folks like me who are struggling to comprehend proton-j and how to actually use it. I very much appreciate it. I have one question though: in yo