Interface AuditMessageQueue
- All Known Subinterfaces:
AbstractMockedAuditMessageQueue
- All Known Implementing Classes:
AbstractAuditMessageQueue
,AsynchronousAuditMessageQueue
,BasicHttpAuditMessageQueue
,CamelAuditMessageQueue
,CompositeAuditMessageQueue
,JmsAuditMessageQueue
,LoggingAuditMessageQueue
,RecordingAuditMessageQueue
,RestTemplateAuditMessageQueue
,SynchronousAuditMessageQueue
public interface AuditMessageQueue
Determine the timing and priority in which audit messages are delivered.
Examples for implementations are synchronous, asynchronous or JMS-based.
- Since:
- 3.5
- Author:
- Christian Ohr
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
audit
(AuditContext auditContext, AuditMessage... auditMessages) default void
flush()
Forces all unsent messages in the queue to be sentdefault void
shutdown()
Flushes the queue and shutdown any associated runtime daemons that may be handling queue inflow/outflow
-
Field Details
-
X_IPF_ATNA_TIMESTAMP
- See Also:
-
X_IPF_ATNA_HOSTNAME
- See Also:
-
X_IPF_ATNA_PROCESSID
- See Also:
-
X_IPF_ATNA_APPLICATION
- See Also:
-
-
Method Details
-
audit
- Parameters:
auditContext
- IPF audit contextauditMessages
- one or more audit message instances
-
flush
default void flush()Forces all unsent messages in the queue to be sent -
shutdown
default void shutdown()Flushes the queue and shutdown any associated runtime daemons that may be handling queue inflow/outflow
-