Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Wolfram Huesken
Hello Sashika, thanks for the hint! I added hawtio-embedded to my dependencies ('io.hawt:hawtio-embedded:2.0.0') and tried to start it, but now I have two new problems :D 1. To not clutter my main method, I wanted to bootstrap hawt.io in "beforeApplicationStart": @Bean CamelContextConfigu

Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Wolfram Huesken
Hello Sashika, thanks for the hint! I added hawtio-embedded to my dependencies ('io.hawt:hawtio-embedded:1.4.61') and tried to start it, but now I have two new problems :D 1. To not clutter my main method, I wanted to bootstrap hawt.io in "beforeApplicationStart": @Bean CamelContextConfig

Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Sashika
This is all I wanted to run Hawt.io embedded org.apache.camel.Main main = new org.apache.camel.Main(); main.enableHangupSupport(); main.addRouteBuilder(new MyRouteBuilder()); main.start(); System.out.println(“Camel starting”); Main hawtMain = new Main(); hawtMain.setWarLocation(“C:\\Users\\*

Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Wolfram Huesken
I know that I can run it standalone, my goal is to run it embedded in a camel application. Maybe have a Spring bean for configuration or something like this. This should be pretty common to do this... On Mon, Feb 29, 2016, at 05:48 PM, jgoggins wrote: > The easiest way I found was to download jolo

Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread jgoggins
The easiest way I found was to download jolokia-jvm-1.3.3-agent.jar from https://jolokia.org/download.html Download hawtio jar from https://oss.sonatype.org/content/repositories/public/io/hawt/hawtio-app/1.4.61/hawtio-app-1.4.61.jar Run the following command to start hawtio java -jar hawtio-app

Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Wolfram Huesken
Hello together, I want to deploy my Camel application together with an embedded hawt.io for monitoring, but I cannot find anything on how to do that. I want to use jetty as container and added the following dependencies to my build.gradle: compile 'org.springframework.boot:spring-boot-starter:1.