Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManagedCamelContext dump stats methods do not work in native mode #7054

Open
jamesnetherton opened this issue Feb 25, 2025 · 2 comments
Open
Assignees
Labels
area/native bug Something isn't working native

Comments

@jamesnetherton
Copy link
Contributor

jamesnetherton commented Feb 25, 2025

Bug description

ManagedCamelContext methods dumpRouteStatsAsXml & dumpStepStatsAsXml throw an exception in native mode. Likely there is some configuration missing in the management extension to make it work.

java.lang.IllegalStateException: Not Implemented in native mode
	at [email protected]/javax.management.JMX.createProxy(JMX.java:19)
	at [email protected]/javax.management.JMX.newMBeanProxy(JMX.java:216)
	at [email protected]/javax.management.MBeanServerInvocationHandler.newProxyInstance(MBeanServerInvocationHandler.java:240)
	at org.apache.camel.management.DefaultManagementAgent.newProxyClient(DefaultManagementAgent.java:396)
	at org.apache.camel.management.mbean.ManagedCamelContext.dumpRoutesStatsAsXml(ManagedCamelContext.java:646)
@jamesnetherton
Copy link
Contributor Author

Created a Quarkus issue quarkusio/quarkus#46506.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/native bug Something isn't working native
Projects
None yet
Development

No branches or pull requests

1 participant