And we did add JMX connector in Camel 3.16 with the camel-debug JAR
which is a special JAR for debugging Camel applications.
As some tools uses RMI over JMX to control the debugger. But the JMX
connector is made to be local only, so you can't connect from a remote
connection.

But you can take a look at the source code in camel-debug, and you can
as a fallback implement your own JMX connector to Camel or modify the
code in camel-debug and use that.
But I dont recommend this. JMX over RMI is a security risk when you
have remote access. HTTP transports is much more commonly known and
can be made secure and easier to work with, and for network firewalls
and whatnot.



On Sun, Feb 20, 2022 at 9:50 PM Claus Ibsen <claus.ib...@gmail.com> wrote:
>
> Hi
>
> If you want to keep using JMX then you can use jolokia that can bridge
> over HTTP which can be made a more secure transport
> https://jolokia.org/features/security.html
>
> Camel works with Jolokia also.
> Camel 3 also has metrics for openmetrics / opentelemetry and other standards.
>
> But there are many ways to monitor Java applications.
>
> On Sun, Feb 20, 2022 at 9:11 PM Thomas Wood <twood2...@gmail.com> wrote:
> >
> > Thank you sir! this is enough info to show to my directors to look for a
> > better way of monitoring our camel clients.
> >
> >
> > On Sun, Feb 20, 2022 at 7:03 AM Claus Ibsen <claus.ib...@gmail.com> wrote:
> >
> > > Ah, I didn't see your last comment about SSL and port.
> > > If you refer to JMX RMI over TCP then that is removed - it's a
> > > security issue with JMX.
> > > Do not use remote JMX management.
> > >
> > >
> > > On Sun, Feb 20, 2022 at 1:01 PM Claus Ibsen <claus.ib...@gmail.com> wrote:
> > > >
> > > > Hi
> > > >
> > > > What do you want to configure?
> > > >
> > > > See the JMX docs at what you can configure in Camel v3
> > > > https://camel.apache.org/manual/jmx.html
> > > >
> > > > On Thu, Feb 17, 2022 at 6:54 PM Thomas Wood <twood2...@gmail.com> wrote:
> > > > >
> > > > > Hello all! I am converting a CAMEL app from 2.* to 3.11.
> > > > > So far so good other than that I cant figure out how to configure jmx
> > > > > properly.
> > > > > The new jmxagent doesnt seems to support the same properties as the 
> > > > > 2.*
> > > > > versions.
> > > > > Is the an example of how to define such things as ports and ssl?
> > > > >
> > > > > Thanks!
> > > >
> > > >
> > > >
> > > > --
> > > > Claus Ibsen
> > > > -----------------
> > > > http://davsclaus.com @davsclaus
> > > > Camel in Action 2: https://www.manning.com/ibsen2
> > >
> > >
> > >
> > > --
> > > Claus Ibsen
> > > -----------------
> > > http://davsclaus.com @davsclaus
> > > Camel in Action 2: https://www.manning.com/ibsen2
> > >
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2



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

Reply via email to