title: Not publish messages to RabbitMQ after commit or rollback
body: <p>I've got a problem with publish messages to RabbitMQ. Our application must work in transactional layer.</p>
  
  <p>But, i don't understand one case: If I firstly start transaction and commit it, all next messages don't published to RabbitMQ.</p>
  
  <pre><code>$connection = new \AMQPConnection([
      'host'     =&gt; 'rabbitmq',
      'port'     =&gt; 5672,
      'login'    =&gt; 'guest',
      'password' =&gt; 'guest',
  ]);
  
  $connection-&gt;connect();
  
  $channel = new \AMQPChannel($connection);
  
  $exchange = new \AMQPExchange($channel);
  $exchange-&gt;setName('some_test');
  $exchange-&gt;setFlags(AMQP_DURABLE);
  $exchange-&gt;setType(AMQP_EX_TYPE_DIRECT);
  $exchange-&gt;declareExchange();
  
  $queue = new \AMQPQueue($channel);
  $queue-&gt;setFlags(AMQP_DURABLE);
  $queue-&gt;setName('some_test_queue');
  $queue-&gt;declareQueue();
  $queue-&gt;bind('some_test', 'some:foo:bar');
  
  $channel-&gt;startTransaction();
  
  $exchange-&gt;publish('some #1', 'some:foo:bar');
  $exchange-&gt;publish('some #2', 'some:foo:bar');
  
  $channel-&gt;commitTransaction();
  
  $exchange-&gt;publish('some #3', 'some:foo:bar');
  </code></pre>
  
  <p>Last messages not published to exchange. But, if I call to <code>commitTransaction</code> in channel, last messages was success published to queue.</p>
  
  <p>I read the documentation here: <a href="https://www.rabbitmq.com/confirms.html#publisher-confirms" rel="nofollow noreferrer">https://www.rabbitmq.com/confirms.html#publisher-confirms</a></p>
  
  <p>Maybe RabbitMQ after first transaction mark this channel as transactional and always wait commit/rollback after publish any messages?</p>