Skip to content

it fetches the file via camel and process via springbatch - PoC

Notifications You must be signed in to change notification settings

tanersenyurt/dynamic_file_processor

Repository files navigation

dynamic_file_processor

Overview

dynamic_file_processor is a Java-based application that fetches files via Apache Camel and processes them using Spring Batch. The application is designed to handle dynamic configurations for different banks, allowing for flexible file processing and mapping.

Features

  • Fetch files from FTP servers using Apache Camel.
  • Process files using Spring Batch.
  • Dynamic configuration for different banks.
  • Custom field mapping and data transformation.
  • MD5 hash generation for transaction validation.

Technologies Used

  • Java 17
  • Spring Boot
  • Spring Batch
  • Apache Camel
  • PostgreSQL
  • Docker

Getting Started

Prerequisites

  • Java 17
  • Docker
  • Docker Compose

Setup

  1. Clone the repository:
    git clone https://github.com/your-repo/dynamic_file_processor.git
    cd dynamic_file_processor
    

Input files

inputs

Bank Configuration

Bank configurations are stored in the bank_configs table. You can initialize the configurations using the DataInitializer class.
bank_config.png

CSV Field Mappings

Field mappings for CSV files are stored in the csv_field_mappings table. These mappings define how CSV columns are mapped to the Transaction entity fields. csv_mapping.png

Transaction Table

Converted result saved into table , with modification like lpad(15,'0') applied to transaction_id column transaction.png

About

it fetches the file via camel and process via springbatch - PoC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages