
com.tradeshift.amqp.rabbit.properties.TunedRabbitPropertiesMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-rabbitmq-tuning-lib Show documentation
Show all versions of spring-rabbitmq-tuning-lib Show documentation
This library was created to make it easier to configure RabbitMQ within Spring and to establish a
pattern for queues architecture.
package com.tradeshift.amqp.rabbit.properties;
import java.util.HashMap;
import java.util.stream.Stream;
import javax.annotation.PostConstruct;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("spring.rabbitmq.custom")
public class TunedRabbitPropertiesMap extends HashMap {
@PostConstruct
public void postConstructBean() {
this.remove("shared");
}
public Stream> stream() {
return entrySet().stream();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy