Tx puts the channel into transaction mode on the server. All publishings and acknowledgments following this method will be atomically committed or rolled back for a single queue. Call either Channel.TxCommit or Channel.TxRollback to leave a this transaction and immediately start a new transaction.
The atomicity across multiple queues is not defined as queue declarations and bindings are not included in the transaction.
The behavior of publishings that are delivered as mandatory or immediate while the channel is in a transaction is not defined.
Once a channel has been put into transaction mode, it cannot be taken out of transaction mode. Use a different channel for non-transactional semantics.