Identifying new and changed features of the Generic Log File Java Probe

When migrating from the legacy probe to the Generic Log File Java Probe, there are some important points to note about the features that are available and the properties that are required to configure them:

  • Some properties form the legacy probe have been deprecated in the Generic Log File Java Probe.
  • Some properties form the legacy probe have been renamed and now take different values.
  • Some features, and the properties required to configure them, have been added to the Generic Log File Java Probe.

The following table compares the features, and the properties required to configure them, of the legacy Generic Log File Probe and the Generic Log File Java Probe.

Table 1. Comparison of properties between the legacy Generic Log File Probe and the Generic Log File Java Probe

Legacy Generic Log File Probe property

Generic Log File Java Probe property

Functional description

ValueSeparator

ParserElementDelimiter

Separator/delimiter that separates tokens/elements.

LineSeparator

This property has been deprecated.

Separator that indicates the end of each line.

Not available in the legacy probe.

ParserNVPDelimiter

Separator/delimiter that separates each name-value pair.

QuoteCharacter

ParserQuoteCharacter

Character that the probe should treat as a quotation mark.

MaxBufferSize

ParserMaxEventSize

Maximum size allowed for a single event.

IgnoreNullFields

ParserIgnoreEmptylFields

Indicates whether the probe allows fields to be empty.

StripCharacter

ParserStripCharacter

Indicates which characters should be stripped out of a token value.

StripCharacterFormat

ParserReplaceStripCharWith

Character with which the probe should replace the strip character.

MaxNumTokens

This property has been deprecated.

Maximum number of tokens allowed for a single event.

MaxTerminators

This property has been deprecated.

Maximum number of terminators allowed for a single event.

CleanStart

CleanStart

Indicates whether the probe ignores the recovery file and starts reading new events.

Not available in the legacy probe.

DSLLogConfig

Indicates the path to the configuration that defines framework Apache Camel context advanced logging for troubleshooting purpose.

Not available in the legacy probe.

EncodingStandard

Indicates the character set used when encoding the content of the input log file.

LogFileName

LogFileName

Indicates the path to the log file that the probe reads.

RecoveryFile

RecoveryFile

Indicates the path to the recovery file.

ReplayFile

This property has been deprecated.

Indicates whether the probe replays the log file.

RetryPeriod

RetryInterval

This property is provided by the probe framework version 8.0.

Indicates the number of retries that the probe makes before shutting down.

Not available in the legacy probe.

RetryCount

This property is provided by the probe framework version 8.0.

Indicates the number of retries that the probe makes before shutting down.

Not available in the legacy probe.

Inactivity

This property is provided by the probe framework version 8.0.

Indicates the length of time (in seconds) that the probe allows the port to receive no incoming data before disconnecting.