Discussion:
Camel 2.21.1 and Hawtio
Ribeaud, Christian (Ext)
2018-10-24 09:12:20 UTC
Permalink
Hi,

I am desperately trying to connect hawtio to my Camel workflow. Or is there a better solution to visualize my Camel workflow?
http://peter-on-java.blogspot.com/2014/05/using-hawito-to-monitor-apache-camel.html
http://hawt.io/docs/plugins/
https://vimeo.com/141917680
None of them helped me. All seem quite outdated. My understanding is the following:

1/ My Camel workflow is running and sending some JMX messages
2/ These messages are then caught by hawtio running, for instance, in another JVM with 'java -jar hawtio-app-2.1.0.jar'.

If I have to install the Camel plugin for hawtio, how should I proceed? Should I really follow the instructions given here?
https://github.com/hawtio/hawtio-integration
Is that so complicate? No release to download and to somehow plug to the hawtio standalone app?
Or even better, an all-in-one jar?

Many thanks and cheers,

christian
Tadayoshi Sato
2018-10-24 09:16:09 UTC
Permalink
Hell Christian,

What is the runtime your Camel app is running on? Spring Boot, Karaf, or
anything else? Basically you can just find out the Jolokia endpoint and
connect hawtio-app.jar via Connect tab to that endpoint.

Best regards,
Tadayoshi

On Wed, Oct 24, 2018 at 6:12 PM Ribeaud, Christian (Ext) <
Post by Ribeaud, Christian (Ext)
Hi,
I am desperately trying to connect hawtio to my Camel workflow. Or is
there a better solution to visualize my Camel workflow?
http://peter-on-java.blogspot.com/2014/05/using-hawito-to-monitor-apache-camel.html
http://hawt.io/docs/plugins/
https://vimeo.com/141917680
1/ My Camel workflow is running and sending some JMX messages
2/ These messages are then caught by hawtio running, for instance, in
another JVM with 'java -jar hawtio-app-2.1.0.jar'.
If I have to install the Camel plugin for hawtio, how should I proceed?
Should I really follow the instructions given here?
https://github.com/hawtio/hawtio-integration
Is that so complicate? No release to download and to somehow plug to the
hawtio standalone app?
Or even better, an all-in-one jar?
Many thanks and cheers,
christian
Ribeaud, Christian (Ext)
2018-10-24 09:26:20 UTC
Permalink
Hi Tadayoshi,
http://peter-on-java.blogspot.com/2014/05/using-hawito-to-monitor-apache-camel.html
The agent is indeed discovered. But nothing more happens...
Do I miss something here?
Regards,

christian

-----Original Message-----
From: Tadayoshi Sato <***@gmail.com>
Sent: Mittwoch, 24. Oktober 2018 11:16
To: ***@camel.apache.org
Subject: Re: Camel 2.21.1 and Hawtio

Hell Christian,

What is the runtime your Camel app is running on? Spring Boot, Karaf, or anything else? Basically you can just find out the Jolokia endpoint and connect hawtio-app.jar via Connect tab to that endpoint.

Best regards,
Tadayoshi
Hi,
I am desperately trying to connect hawtio to my Camel workflow. Or is
there a better solution to visualize my Camel workflow?
https://urldefense.proofpoint.com/v2/url?u=http-3A__peter-2Don-2Djava.
blogspot.com_2014_05_using-2Dhawito-2Dto-2Dmonitor-2Dapache-2Dcamel.ht
ml&d=DwIBaQ&c=ZbgFmJjg4pdtrnL2HUJUDw&r=MS-8N6QwQqjzb8iBrPi691rQrebnovN
-5Sk5-OHOxKQ&m=2S2O1NnAvN3ozz_TdyvwMwVXrbtfA0363Y4F9tzvU5Q&s=1AZBerdnb
hulnRgqW8d7otrbJZnTHtvEsxYDVJ2M4YU&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__hawt.io_docs_plu
gins_&d=DwIBaQ&c=ZbgFmJjg4pdtrnL2HUJUDw&r=MS-8N6QwQqjzb8iBrPi691rQre
bnovN-5Sk5-OHOxKQ&m=2S2O1NnAvN3ozz_TdyvwMwVXrbtfA0363Y4F9tzvU5Q&s=Ss
T7TacUXxC-iXfeshNLMf3XVeSYcZH5PptYDZULGe8&e=
https://urldefense.proofpoint.com/v2/url?u=https-3A__vimeo.com_14191
7680&d=DwIBaQ&c=ZbgFmJjg4pdtrnL2HUJUDw&r=MS-8N6QwQqjzb8iBrPi691rQreb
novN-5Sk5-OHOxKQ&m=2S2O1NnAvN3ozz_TdyvwMwVXrbtfA0363Y4F9tzvU5Q&s=HEz
W675rEsxXUK4xH6sWvsBFPXvVtM0wNZq6Mwxvr5E&e=
None of them helped me. All seem quite outdated. My understanding is
the
1/ My Camel workflow is running and sending some JMX messages 2/ These
messages are then caught by hawtio running, for instance, in another
JVM with 'java -jar hawtio-app-2.1.0.jar'.
If I have to install the Camel plugin for hawtio, how should I proceed?
Should I really follow the instructions given here?
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hawt
io_hawtio-2Dintegration&d=DwIBaQ&c=ZbgFmJjg4pdtrnL2HUJUDw&r=MS-8N6Qw
Qqjzb8iBrPi691rQrebnovN-5Sk5-OHOxKQ&m=2S2O1NnAvN3ozz_TdyvwMwVXrbtfA0
363Y4F9tzvU5Q&s=HaQQbg_sizsXobbPfWygm-I42RV_BHsqPwm-6uuryYo&e=
Is that so complicate? No release to download and to somehow plug to
the hawtio standalone app?
Or even better, an all-in-one jar?
Many thanks
Tadayoshi Sato
2018-10-24 10:11:02 UTC
Permalink
Hello Christian,

If you are using Camel 2.21.1, Spring Boot must be 1.x. Then you can refer
to this example:
https://github.com/hawtio/hawtio/tree/master/examples/springboot
It also contains a simple Camel route which you can view from the Hawtio
console.

The key part for the sample is you need to set endpoints.jolokia.sensitive
= false in application.properties. This should be applicable to the cases
where you want hawtio-app.jar to connect to a remote Jolokia endpoint.

Hope this helps.

Best regards,
Tadayoshi

On Wed, Oct 24, 2018 at 6:26 PM Ribeaud, Christian (Ext) <
Post by Ribeaud, Christian (Ext)
Hi Tadayoshi,
Spring Boot. I've tried this strategy, basically following the
http://peter-on-java.blogspot.com/2014/05/using-hawito-to-monitor-apache-camel.html
The agent is indeed discovered. But nothing more happens...
Do I miss something here?
Regards,
christian
-----Original Message-----
Sent: Mittwoch, 24. Oktober 2018 11:16
Subject: Re: Camel 2.21.1 and Hawtio
Hell Christian,
What is the runtime your Camel app is running on? Spring Boot, Karaf, or
anything else? Basically you can just find out the Jolokia endpoint and
connect hawtio-app.jar via Connect tab to that endpoint.
Best regards,
Tadayoshi
On Wed, Oct 24, 2018 at 6:12 PM Ribeaud, Christian (Ext) <
Post by Ribeaud, Christian (Ext)
Hi,
I am desperately trying to connect hawtio to my Camel workflow. Or is
there a better solution to visualize my Camel workflow?
https://urldefense.proofpoint.com/v2/url?u=http-3A__peter-2Don-2Djava.
blogspot.com_2014_05_using-2Dhawito-2Dto-2Dmonitor-2Dapache-2Dcamel.ht
ml&d=DwIBaQ&c=ZbgFmJjg4pdtrnL2HUJUDw&r=MS-8N6QwQqjzb8iBrPi691rQrebnovN
-5Sk5-OHOxKQ&m=2S2O1NnAvN3ozz_TdyvwMwVXrbtfA0363Y4F9tzvU5Q&s=1AZBerdnb
hulnRgqW8d7otrbJZnTHtvEsxYDVJ2M4YU&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__hawt.io_docs_plu
gins_&d=DwIBaQ&c=ZbgFmJjg4pdtrnL2HUJUDw&r=MS-8N6QwQqjzb8iBrPi691rQre
bnovN-5Sk5-OHOxKQ&m=2S2O1NnAvN3ozz_TdyvwMwVXrbtfA0363Y4F9tzvU5Q&s=Ss
T7TacUXxC-iXfeshNLMf3XVeSYcZH5PptYDZULGe8&e=
https://urldefense.proofpoint.com/v2/url?u=https-3A__vimeo.com_14191
7680&d=DwIBaQ&c=ZbgFmJjg4pdtrnL2HUJUDw&r=MS-8N6QwQqjzb8iBrPi691rQreb
novN-5Sk5-OHOxKQ&m=2S2O1NnAvN3ozz_TdyvwMwVXrbtfA0363Y4F9tzvU5Q&s=HEz
W675rEsxXUK4xH6sWvsBFPXvVtM0wNZq6Mwxvr5E&e=
None of them helped me. All seem quite outdated. My understanding is
the
1/ My Camel workflow is running and sending some JMX messages 2/ These
messages are then caught by hawtio running, for instance, in another
JVM with 'java -jar hawtio-app-2.1.0.jar'.
If I have to install the Camel plugin for hawtio, how should I proceed?
Should I really follow the instructions given here?
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_hawt
io_hawtio-2Dintegration&d=DwIBaQ&c=ZbgFmJjg4pdtrnL2HUJUDw&r=MS-8N6Qw
Qqjzb8iBrPi691rQrebnovN-5Sk5-OHOxKQ&m=2S2O1NnAvN3ozz_TdyvwMwVXrbtfA0
363Y4F9tzvU5Q&s=HaQQbg_sizsXobbPfWygm-I42RV_BHsqPwm-6uuryYo&e=
Is that so complicate? No release to download and to somehow plug to
the hawtio standalone app?
Or even better, an all-in-one jar?
Many thanks and cheers,
christian
Loading...