Sorry, I forgot this... I'm using Camel 3.6.0, and my tests are with an IDE using camel-main.
Regards, Nicolas -----Message d'origine----- De : Jean-Baptiste Onofre <j...@nanthrax.net> Envoyé : mardi 15 décembre 2020 08:54 À : users@camel.apache.org Objet : Re: JMX issues with processor Hi Nicolas, Which camel version are you using ? And which runtime ? Regards JB > Le 14 déc. 2020 à 19:24, CASAUX Nicolas <nicolas.cas...@soprasteria.com> a > écrit : > > Hello ! > > I may have found two minor bugs with data available from processors through > JMX. > > 1) > When I use processors like : > .enrich().constant(direct("myEndpoint").failIfNoConsumers(false)) > in JMX data, the exposed "ExpressionLanguage" is empty, and the "Expression" > is something like > "org.apache.camel.builder.ExpressionClause@7c098bb3<mailto:org.apache.camel.builder.ExpressionClause@7c098bb3>" > > Similar issue happens with pollEnrich, and probably other processors. > Workaround for that was to add a ".getUri()" : > > > .enrich().constant(direct("enrichConstant").failIfNoConsumers(false).getUri()) > > 2) > Processor "pollEnrich" says it does not support extended information > (SupportExtendedInformation=false), however, it does support it. > There are indeed some data available with the "extendedInformation" operation. > Maybe some other processors have the same problem. > > I can of course create jira(s) if it makes sense. > > Regards, > Nicolas > >