Class IpfAtnaAutoConfiguration.SpringAuditEventConfiguration
java.lang.Object
org.openehealth.ipf.boot.atna.IpfAtnaAutoConfiguration.SpringAuditEventConfiguration
- Enclosing class:
IpfAtnaAutoConfiguration
@Configuration
@ConditionalOnClass(org.springframework.boot.actuate.audit.AuditEventRepository.class)
public static class IpfAtnaAutoConfiguration.SpringAuditEventConfiguration
extends Object
Provides the
AuditMessageQueue bean when spring-boot-actuator is present. If
"ipf.atna.spring-audit-event-enabled" is true and an AuditEventRepository is configured, the
bean is a CompositeAuditMessageQueue that also publishes audit events to that
AuditEventRepository, using AuditApplicationEventMessageQueue.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauditMessageQueue(IpfAtnaConfigurationProperties config, ObjectProvider<org.springframework.boot.actuate.audit.AuditEventRepository> auditEventRepository)
-
Constructor Details
-
SpringAuditEventConfiguration
public SpringAuditEventConfiguration()
-
-
Method Details
-
auditMessageQueue
@Bean @ConditionalOnMissingBean public AuditMessageQueue auditMessageQueue(IpfAtnaConfigurationProperties config, ObjectProvider<org.springframework.boot.actuate.audit.AuditEventRepository> auditEventRepository) throws Exception - Throws:
Exception
-