class AmqpChannel implements AmqpChannelView {

    @Override
    public String getTransactionType() {
        String transactionType = "unidentified";
        if (transaction instanceof AutoCommitTransaction) {
            transactionType = "AutoCommit";
        } else if (transaction instanceof LocalTransaction) {
            transactionType = "LocalTransaction";
        } else if (transaction instanceof DistributedTransaction) {
            transactionType = "DistributedTransaction";
        }
        return transactionType;
    }

    public  AmqpChannel(AmqpServerConfiguration configuration,
                       Broker broker,
                       int channelId,
                       AmqpMetricManager metricManager,
                       AmqpConnectionHandler connection);

}