Correct. If a link has credit then you may send a message over it. However, there is also a session flow control that considers all of its links in aggregate. Some pictures are in https://netprototalk.wordpress.com/2015/10/01/amqp-as-a-network-protocol-2/
Even though you send a message to a link it may not make it onto the network until the session has a large enough open window to accept it. -Chuck ----- Original Message ----- > From: "Tomáš Šoltys" <tomas.sol...@gmail.com> > To: proton@qpid.apache.org > Sent: Tuesday, October 13, 2015 8:28:49 AM > Subject: Re: ractor - sending message > > All right, I think I am finally cracking it. > > Please correct me if I am wrong. > > PN_LINK_FLOW is not meant for sending but for "Updates the flow state for > the specified link." as stated in specification (2.7.4 Flow - OASIS > Advanced Message Queuing Protocol (AMQP) Version 1.0). > > I can send message any time I want if there is enough credit on a link. > > Regards, > Tomas > > 2015-10-12 13:04 GMT+02:00 Tomáš Šoltys <tomas.sol...@gmail.com>: > > > Hi, > > > > in reactor example, message is sent on PN_LINK_FLOW event. > > > > Let's say that I have a client that needs to send messages on user input. > > Is there a way how to "force" reactor API emit PN_LINK_FLOW event? > > > > Thanks, > > Tomas > > > > > > -- > Tomáš Šoltys > tomas.sol...@gmail.com > http://www.range-software.com > (+420) 776-843-663 >