Start IntegrationManager
Now you may start the application by executing the spring-boot
plugin:
> mvn spring-boot:run
For faster development, you may run the application from the generated Application.java
file by simply executing the main method (you must compile the application prior to this action).
The output should looks like:
08:13:32.015 | INFO | main | | | o.a.camel.spring.SpringCamelContext | Apache Camel 2.25.0 (CamelContext: camel-1) is starting
08:13:32.017 | INFO | main | | | o.a.camel.spring.SpringCamelContext | MDC logging is enabled on CamelContext: camel-1
08:13:32.017 | INFO | main | | | o.a.c.m.ManagedManagementStrategy | JMX is enabled
08:13:32.187 | INFO | main | | | o.a.camel.spring.SpringCamelContext | StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
08:13:32.211 | INFO | main | | | o.a.camel.spring.SpringCamelContext | Route: testRoute1 started and consuming from: timer://foo?repeatCount=1
08:13:32.213 | INFO | main | | | o.a.camel.spring.SpringCamelContext | Total 1 routes, of which 1 are started
08:13:32.214 | INFO | main | | | o.a.camel.spring.SpringCamelContext | Apache Camel 2.25.0 (CamelContext: camel-1) started in 0.198 seconds
08:13:32.268 | INFO | main | | | o.s.c.s.b.k.p.KafkaTopicProvisioner | Using kafka topic for outbound: integration-manager-events
08:13:33.238 | INFO | Camel (camel-1) thread #1 - timer://foo | testRoute1 | ID-michal-UX410UAK-1588659203444-0-1 | testRoute1 | Test route 1 executed flawlessly
08:13:34.754 | INFO | main | | | o.s.c.s.m.DirectWithAttributesChannel | Channel 'application-1.im-events-out' has 1 subscriber(s).
08:13:34.756 | INFO | main | | | o.s.s.quartz.SchedulerFactoryBean | Starting Quartz Scheduler now
08:13:34.757 | INFO | main | | | org.quartz.core.QuartzScheduler | Scheduler quartzScheduler_$_NON_CLUSTERED started.
08:13:35.609 | INFO | main | | | o.s.b.w.e.tomcat.TomcatWebServer | Tomcat started on port(s): 8080 (https) with context path ''
08:13:35.617 | INFO | main | | | net.pricefx.integration.Application | Started Application in 29.4 seconds (JVM running for 41.48)
08:13:35.659 | INFO | main | | | n.p.i.messaging.KafkaEventPublisher | Publishing event [GenericMessage [payload={"managementUsername":"","partitionName":"","instanceName":"hotncold-application","managementPassword":""*"managementUrl":"https://michal-UX410UAK:8080/","emailTo":"","imVersion":"1.2.0-SNAPSHOT","type":null,"configurable":false,"monitored":false}, headers={eventType=INTEGRATION_MANAGER_INSTANCE_STARTUP, id=85f15fab-343a-fef9-a80d-3450c5a83a35, kafka_messageKey=hotncold-application, timestamp=1588659215659}]]
Notes:
Line 9
indicates execution of the demo route. This route should be changed to real routes in your application.Line 14
shows successful instance startup.Line 15
publishes a startup event to PlatformManager (you can check it at this point).
IntegrationManager version 5.8.0