Class IpfAtnaAutoConfiguration.PlainAuditMessageQueueConfiguration
java.lang.Object
org.openehealth.ipf.boot.atna.IpfAtnaAutoConfiguration.PlainAuditMessageQueueConfiguration
- Enclosing class:
IpfAtnaAutoConfiguration
@Configuration
@ConditionalOnMissingClass("org.springframework.boot.actuate.audit.AuditEventRepository")
public static class IpfAtnaAutoConfiguration.PlainAuditMessageQueueConfiguration
extends Object
Provides the
AuditMessageQueue bean when spring-boot-actuator is absent. The actuator is an
optional dependency of this starter, and its types must therefore not appear in the signature of a
bean method of an unconditional configuration class: Spring introspects such a class reflectively,
which fails with a NoClassDefFoundError for types that are not on the classpath. This is why
the two variants of the bean live in nested configuration classes, whose conditions are evaluated
without loading them.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
PlainAuditMessageQueueConfiguration
public PlainAuditMessageQueueConfiguration()
-
-
Method Details
-
auditMessageQueue
@Bean @ConditionalOnMissingBean public AuditMessageQueue auditMessageQueue(IpfAtnaConfigurationProperties config) throws Exception - Throws:
Exception
-