Thanks a lot Gordon!

And is there a suggested/proper way how to do it using reactor API?

Thanks and regards,
Tomas


2015-09-08 16:47 GMT+02:00 Gordon Sim <g...@redhat.com>:

> On 09/08/2015 02:24 PM, Tomáš Šoltys wrote:
>
>> I would like to create a sender that sends messages on demand.
>>
>> What would be the best approach?
>>
>> Create a loop in PN_LINK_FLOW? Or is there a better way?
>>
>
> Is this example any use:
> https://git1-us-west.apache.org/repos/asf?p=qpid-proton.git;a=blob;f=examples/cpp/direct_send.cpp;h=02bc3725db9809cac92ae04a91068932f636b59e;hb=HEAD
>
> It allows receivers to connect and when they do it will send a certain
> number of messages to them. Obviously the details of the logic could be
> adapted, but it may be a useful place to start experimenting?
>
>
>


-- 
Tomáš Šoltys
tomas.sol...@gmail.com
http://www.range-software.com
(+420) 776-843-663

Reply via email to