Configuration

Configuration

Application configuration files.

Attribute

Details

Purpose

Configure IM behavior — connections, error handling, events, features

Format

Java properties files

Key file

application.properties — the main configuration file

Loaded by

Spring Boot at startup — registered as property source

Example: config/application.properties

# Integration name
integration.name=MyIntegration

# Pricefx connection (alternative to connections/pricefx.json)
integration.pfx.url=https://yourpartition.pricefx.eu
integration.pfx.partition=yourpartition
integration.pfx.username={{pfx.username}}
integration.pfx.password={{pfx.password}}

# Error handling
integration.route-error-handling.enable-sending-mail=true
integration.route-error-handling.email.mailTo=team@company.com

# Events
integration.events.enabled=true
integration.events.event-to-route-mapping.PADATALOAD_COMPLETED=direct:eventPADataLoadCompleted

# File paths
products.importDir=/var/pricefx/data/import/products
export.outputDir=/var/pricefx/data/export

Common Pitfalls

  • Properties can also be managed via PlatformManager (overrides this file)

  • Use Spring profiles for environment-specific config: application-dev.properties, application-prod.properties

  • Sensitive values should use {{placeholder}} syntax resolved by PlatformManager

See Also