RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Route.GenericFile Show all

redb.Route.GenericFile

Classes

C GenericFileConsumer<TOptions> Template-method base class for all file-based consumers (local file, SFTP, FTP).
C GenericFileEndpointOptions Base endpoint options shared by all file-based transports (local file, SFTP, FTP).
C GenericFileFacts The file facts of a file a consumer is handling, for the file keys in its own options (moveTo,
C GenericFileFilterResolution Turns filter=#myFilter into the filter instance the consumer calls. Shared by the
C GenericFileInfo Protocol-agnostic file metadata. Used by consumers and producers
C GenericFileProducer<TOptions> Template-method base class for all file-based producers (local file, SFTP, FTP).
C GenericFileUtils Shared utilities for file-based transports: glob matching, done-file resolution.
C InMemoryGenericFileIdempotentRepository In-memory idempotent repository for tracking processed files across all file-based transports.
C PollBackoff Apache Camel ScheduledPollConsumer-style poll backoff: after a threshold number of consecutive
C RemoteFileConnectionFactory Base named connection factory for remote-file transports (FTP, SFTP). Register a concrete
C RemoteFileConsumer<TOptions> Base class for remote file consumers (SFTP, FTP). Extends
C RemoteFileEndpointOptions Base endpoint options for remote file-based transports (SFTP, FTP).
C RemoteFileProducer<TOptions> Base class for remote file producers (SFTP, FTP). Extends

Interfaces

I IFileOperations Abstraction for file system operations. Implementations adapt
I IGenericFileFilter A filter the route author writes in code and names from the URI (filter=#myFilter),
I IRemoteFileOperations Extension of for remote file systems (SFTP, FTP).

Structs

S BackoffTrigger Set when a poll's outcome has just armed the skip countdown — for a single log line.
S PollTally Per-poll tally: how many exchanges were created and how many of those failed unhandled.

Enums

E FileProcessResult Result of processing a single polled file, aggregated into the poll tally.
E GenericFileExistStrategy Strategy for how the producer handles an existing file at the target path.
E GenericFileSortBy Sort criteria for ordering files during consumer polling.
E PollOutcome Outcome of a single poll, feeding the backoff counters.