Code used to produce ActiveMQ deadlock under producer flood control conditions