Rename argument for clarity
Rename for clarity
Add a ref that identifies amqp_msg

To give consumers a chance to rabbit_amqqueue:notify_sent/2
deliveries. Can be useful in other contexts, too.
Introduce amqp_msg.channel_pid

The channel will be sending notifications rabbit_amqqueue:send_notify/2.
Consumers need to know the pid to tell it to do so.
Towards keeping track of consumers in channel state
Keep track of consumers in channel state
Only basic.deliver uses send_command_and_notify
Conditionally use notify_sent
Backed out changeset 6f298e7960ba
Backout some recent changes

We'll try another strategy.
Backout a56c0083508e
Backout 5a8c2ebc869d
Backout eb28442a9cd3
Backout 5bbe6d4f364f
Introduce amqp_channel state.manual_flow_control with a setter

Not yet wired in.
Extract function
send_command_and_notify is only used with basic.deliver
Compile
Propagate manual flow control flag to amqp_gen_consumer

Not yet wired in with the actual consumer API.
On channels that use manual flow control, propagate channel pid to consumers