qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ivanov <iv...@isle.spb.ru>
Subject Re: How to get the message representation in encoded form?
Date Tue, 14 Jul 2015 11:52:41 GMT
Hmm thanks, but what if I am using pn_messenger functions? I am afraid
I am not using the reactor.

Best regards,

14.07.2015 15:37, Bozo Dragojevic пишет:
> On 14. 07. 15 12.30, Michael Ivanov wrote:
>> Hallo,
>>
>> I am receiving the qpid message is one process, but would like to actually decode
>> it in a different process. I it possible to use proton to get the message in the
>> unpacked binary form, then copy the buffer over to another process (eg. using pipe)
>> and unpack it to actual pn_message_t there?
>>
>> Best regards,
> 
> If you use the engine and the reactor, the encoded form is
> available on PN_DELIVERY event
> 
> Take a look at reactor-recv.c, you want to split it between lines 210
> and 211 :)
> 
> Bozzo
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 


-- 
 \   / |			           |
 (OvO) |  Михаил Иванов                    |
 (^^^) |      Тел.:    +7(911) 223-1300    |
  \^/  |      E-mail:  ivans@isle.spb.ru   |
  ^ ^  |                                   |

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message