Skip to content
Snippets Groups Projects
Commit dab615b4 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

OZG-4097 Always use configuration bean

parent af2f8eee
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,6 @@ import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
......@@ -18,7 +17,7 @@ import lombok.Setter;
@Getter
@Setter
@Configuration
@ConditionalOnProperty(prefix = Osi2PostfachProperties.PREFIX, name = "enabled", havingValue = "true")
@ConfigurationProperties(prefix = Osi2PostfachProperties.PREFIX)
@RequiredArgsConstructor
public class Osi2PostfachProperties {
// From de.ozgcloud.nachrichten.NachrichtenManagerConfiguration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment