com.rabbitmq.client.BuiltinExchangeType.java Source code

Java tutorial

Introduction

Here is the source code for com.rabbitmq.client.BuiltinExchangeType.java

Source

package com.rabbitmq.client;

/**
 * Enum for built-in exchange types.
 */
public enum BuiltinExchangeType {

    DIRECT("direct"), FANOUT("fanout"), TOPIC("topic"), HEADERS("headers");

    private final String type;

    BuiltinExchangeType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }
}