Spring AMQP Exchange (core/Exchange.java)

spring-amqp · spring-amqp/src/main/java/org/springframework/amqp/core/Exchange.java · java · Apache-2.0
integration, chat, infra, fw:spring, tag:amqp, tag:exchange

Defines exchange contract for AMQP messaging, specifying name, type, durability, and auto-delete behavior for message routing.

// Source: https://github.com/spring-projects/spring-amqp | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright 2002-present the original author or authors.
 */

package org.springframework.amqp.core;

import java.util.Map;

/**
 * Interface for all exchanges.
 *
 * @author Mark Fisher
 * @author Gary Russell
 * @author Artem Bilan
 */
public interface Exchange extends Declarable {

	/**
	 * The name of the exchange.
	 *
	 * @return the name of the exchange.
	 */
	String getName();

	/**
	 * The type of the exchange. See {@link ExchangeTypes} for some well-known examples.
	 *
	 * @return the type of the exchange.
	 */
	String getType();

	/**
	 * A durable exchange will 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key