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

com.spring.boxes.gateway.GatewayAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
package com.spring.boxes.gateway;

import com.spring.boxes.gateway.exception.GatewayExceptionHandler;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class GatewayAutoConfiguration {

    @Bean
    @ConditionalOnMissingBean
    public GatewayExceptionHandler gatewayExceptionHandler(){
        return new GatewayExceptionHandler();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy