ncasaux created CAMEL-15950:
-------------------------------

             Summary: JMX data for processors - Expression/ExpressionLanguage
                 Key: CAMEL-15950
                 URL: https://issues.apache.org/jira/browse/CAMEL-15950
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 3.6.0
            Reporter: ncasaux


Hello,

Currently, when we use endpoint-dsl Camel 3 synthax like this:
{code:java}
.enrich().constant(direct("myEndpoint").failIfNoConsumers(false))
{code}
the available data for this processor exposed through JMX related to the 
expression and the expression language is not really usefull.

Indeed, the expression language is empty, and the expression value is something 
like:
{code:java}
org.apache.camel.builder.ExpressionClause@7c098bb3
{code}
It would be nice if we could have the equivalent of what we get when we use the 
getUri() method of the endpoint, like this:
{code:java}
.enrich().constant(direct("enrichConstant").failIfNoConsumers(false).getUri())
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to