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


Reply via email to