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

OZG-4097 Always use configuration bean

parent ea90612c
No related branches found
No related tags found
1 merge request!15Ozg 4097 senden und empfangen von anhängen
Pipeline #1772 waiting for manual action
...@@ -7,7 +7,6 @@ import jakarta.validation.Valid; ...@@ -7,7 +7,6 @@ import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull; import jakarta.validation.constraints.NotNull;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
...@@ -18,7 +17,7 @@ import lombok.Setter; ...@@ -18,7 +17,7 @@ import lombok.Setter;
@Getter @Getter
@Setter @Setter
@Configuration @Configuration
@ConditionalOnProperty(prefix = Osi2PostfachProperties.PREFIX, name = "enabled", havingValue = "true") @ConfigurationProperties(prefix = Osi2PostfachProperties.PREFIX)
@RequiredArgsConstructor @RequiredArgsConstructor
public class Osi2PostfachProperties { public class Osi2PostfachProperties {
// From de.ozgcloud.nachrichten.NachrichtenManagerConfiguration // 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