[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [hono-dev] Command and Control / Cloud to Device
|
On 12/03/18 16:34, Gordon Sim wrote:
Basically you create a link with no target address, and then put the
address in the message. So you can send a message to 'foo' then 'bar'
over the same link. Does that help?
[...]
If you send unsettled, then you do get flow control with message-routed
traffic. The credit is not directly relayed, but messages are not
silently dropped and back-pressure will be propagated. If there are no
active recipients (active links with credit granted) then senders will
not get credit to send messages. You can in fact use the availability of
credit to send as an imperfect indication that there is a receiver on
the address (or in the hone case that the device is connected).
I should clarify here that if using anonymous senders, you would not get
back-pressure (since the link itself gives no indication of what address
you are sending to). You would still get end-to-end delivery guarantees,
so if you try to send to an address for which there is no active
receiver, the message will be explicitly released, i.e. you get a nack.