Hi

Ah okay, yeah we should likely remove camel-management as a dependency
for camel-spring-boot, then JMX is disabled out of the box.
And maybe even also set the configuration option to false. But then to
enable it you need both to add the JAR and set the option to true

Can you create a JIRA.

On Sun, Feb 2, 2020 at 11:39 PM Pascal Schumacher
<pascalschumac...@gmx.net> wrote:
>
> Am 02.02.2020 um 18:29 schrieb Claus Ibsen:
> > Hi
> >
> > This is only Spring Boot JMX, and spring boot may not have so much
> > data in JMX that anybody are using it.
>
> Yes, Spring Boot does not offer as much JMX data as Camel. On the flip
> side Camel JMX needs more memory (as far as I remember, haven't checked
> recently).
>
> Other than Spring JMX (and JMX for Spring Components like Spring Batch
> and Spring Integration) Spring Boot 2.2 also disabled Tomcat JMX by
> default (see: https://github.com/spring-projects/spring-boot/issues/16498).
>
> > But I see the point, but what Camel does in 3.x is to make JMX
> > optional if you have camel-management on the classpath or not.
> > And of course allows to configure this as well with those options.
> >
> > Can you check the 3.0 spring boot example and see if camel-management
> > gets added out of the box or not?
> > We may have added it specially for camel-spring-boot to make it JMX
> > out of the box.
>
> Yes, camel-spring-boot has a compile camel-management dependency, so it
> is added out of the box.
>
> -Pascal
>


-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to