Component evidence

Consistent Hash Exchange AMQP (core/ConsistentHashExchange.java)

spring-amqp · spring-amqp/src/main/java/org/springframework/amqp/core/ConsistentHashExchange.java · java · Apache-2.0
integrationchatlang:javafw:springtag:amqp

Defines a Consistent Hash exchange type for Spring AMQP messaging. Reuse when configuring message routing with consistent hashing on RabbitMQ.

Source preview first 800 characters · full source over MCP
// 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 2024-present the original author or authors.
 */

package org.springframework.amqp.core;

import java.util.Map;

import org.jspecify.annotations.Nullable;

import org.springframework.util.Assert;

/**
 * An {@link AbstractExchange} extension for Consistent Hash exchange type.
 *
 * @author Artem Bilan
 *
 * @since 3.2
 *
 * @see AmqpAdmin
 */
public class ConsistentHashExchange extends AbstractExchange {

	/**
	 * Construct a new durable, non-auto-delete Exchange with the provided name.
	 * @param name the name of the exchange.
	 */
	public ConsistentHashExchan

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