Start IM
Start the IM instance:
> mvn spring-boot:run
The output should look like this:
... ... 10:46:43.050 | INFO | main | | | o.a.camel.spring.SpringCamelContext | Route: direct:loadCustomers started and consuming from: Endpoint[direct://loadCustomers] 10:46:43.050 | INFO | main | | | o.a.camel.spring.SpringCamelContext | Total 3 routes, of which 3 are started. 10:46:43.051 | INFO | main | | | o.a.camel.spring.SpringCamelContext | Apache Camel 2.17.1 (CamelContext: camel-1) started in 0.971 seconds 10:46:43.070 | INFO | main | | | o.a.camel.spring.boot.FatJarRouter | Started FatJarRouter in 9.601 seconds (JVM running for 16.24) 10:46:43.071 | INFO | main | | | o.a.camel.spring.SpringCamelContext | Apache Camel 2.17.1 (CamelContext: camel-1) is starting 10:46:43.072 | INFO | main | | | o.a.camel.spring.SpringCamelContext | Total 3 routes, of which 3 are started. 10:46:43.072 | INFO | main | | | o.a.camel.spring.SpringCamelContext | Apache Camel 2.17.1 (CamelContext: camel-1) started in 0.000 seconds 10:46:44.096 | INFO | Camel (camel-1) thread #0 - file://src/data/customers | customersRoute-CSV | ID-opT430-42208-1491295598554-0-2 | custom.trigger | Loading customer file customers-main.csv 10:46:44.196 | INFO | Camel (camel-1) thread #0 - file://src/data/customers | customersRoute-processCustomers | ID-opT430-42208-1491295598554-0-4 | n.p.i.api.client.PriceFxClient | Start loading data with type C and size 4 10:46:45.111 | INFO | Camel (camel-1) thread #0 - file://src/data/customers | customersRoute-processCustomers | ID-opT430-42208-1491295598554-0-4 | n.p.i.a.PriceFxExceptionTranslator | Loaddata of 4 Customer with business key [customerId] 10:46:46.397 | INFO | Camel (camel-1) thread #0 - file://src/data/customers | customersRoute-processCustomers | ID-opT430-42208-1491295598554-0-4 | n.p.i.a.PriceFxExceptionTranslator | Response status code:0 10:46:46.397 | INFO | Camel (camel-1) thread #0 - file://src/data/customers | customersRoute-processCustomers | ID-opT430-42208-1491295598554-0-4 | n.p.i.api.client.PriceFxClient | Done loading data with type C and size 4 10:46:46.401 | INFO | Camel (camel-1) thread #0 - file://src/data/customers | customersRoute-CSV | ID-opT430-42208-1491295598554-0-2 | customersRoute-CSV | Customers have been saved. Total input records count : 4
Then check the application, you should see that the data was delivered:
IntegrationManager version 5.8.0