Getting Started
| Before deciding to use a specific logger it’s worth considering where the message and other data logging fits into your overall strategy, especially if implementing ODS. See Using ODS section below. |
Using Provided MessageLoggers
Message-logger-impl provides two specific implementations of MessageLogger:
Using ODS
If you are using ODS, you should use the MessageLogger implementations provided by IPF Processing Data, specifically see Processing Data Egress for full details.
The message logger module of Processing Data registers an instance of com.iconsolutions.ipf.core.messagelogger.CheckpointAwareMessageLogger which will publish message logs to the configured transport.
The logger supports at-most once delivery. The message logger is fire-and-forget, and message log entries can be buffered and egressed in a single DataEnvelope.
If not using a Processing Data starter pom, you can use the plugin directly with
<dependency>
<groupId>com.iconsolutions.ipf.core.processingdata</groupId>
<artifactId>ipf-processing-data-egress-message-logger</artifactId>
</dependency>
Configuration
Enabled by default when present as a dependency, but can be explicitly configured with:
| Property | Values | Default Value | Description |
|---|---|---|---|
|
|
|
Enable or disable the message-logger plugin |
|
|
|
Buffers message log entries and sends them in a single |
|
|
|
The number of message log entries to buffer before sending the |
|
a duration such as |
|
The time to wait before sending the |