All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tradeshift.amqp.rabbit.properties.TunedRabbitPropertiesMap Maven / Gradle / Ivy

Go to download

This library was created to make it easier to configure RabbitMQ within Spring and to establish a pattern for queues architecture.

There is a newer version: 0.1.3
Show newest version
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