Create Recommended Project Structure

It is recommended to use a project structure like shown here. It is widely used across multiple projects, so sticking to the same pattern will make your project easier to understand for others.

 

Resource

Description

Resource

Description

src/data

Development and training data

src/main/java

Custom executive objects, like processors, converters, etc.

net.pricefx.integration/Application

Spring Boot application starting class, contains:

main(String [] args)

src/resources/refs/routes

Camel data route definitions, structured by business objects
(customers, products, transactions, ...).

src/resources/refs/converters.xml

Field type convertor definitions (string2decimal, string2date, ...)

src/resources/refs/events.xml

Event definition for outbound integration

src/resources/refs/mappers-filters.xml

Mapper definitions (for mapping fields from IM to PFX backend)

src/resources/application.properties

Application configuration settings (Spring Boot)
All externalized application properties (in the form of key=value)

src/resources/camel-context.xml

Application Camel engine instance general configuration bean

src/resources/logback.xml

Logging option configuration

src/test

Test classes

We provide a tar archive for your convenience. Please check versions of components and adjust accordingly to the latest version of the IntegrationManager.

 

IntegrationManager version 5.8.0