Java tutorial
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; } }