You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/21 13:43:04 UTC
[jira] [Created] (CAMEL-8992) EIPs with Expression - Allow to
detail those in jmx friendly information
Claus Ibsen created CAMEL-8992:
----------------------------------
Summary: EIPs with Expression - Allow to detail those in jmx friendly information
Key: CAMEL-8992
URL: https://issues.apache.org/jira/browse/CAMEL-8992
Project: Camel
Issue Type: Improvement
Components: camel-core, jmx
Reporter: Claus Ibsen
Fix For: Future
The various EIPs have mbeans that exposes details about those processors. However when they use expression/predicate we only have the actual created instances of those available for JMX.
That means they cannot reverse engineer or represent in a format that is better understood by humans/jmx/toolings.
For example
{code}
from("direct:start")
.pollEnrich().simple("seda:${header.whereto}").timeout(1000).id("mysend")
.to("mock:foo");
{code}
The simple expression on poll enrich becomes
{code}
String uri = (String) mbeanServer.getAttribute(on, "Expression");
assertEquals("Simple: seda:${header.whereto}", uri);
{code}
Ideally we should have two information
- the language used for the expression
- the value as-is
So we can show that its simple language with the value "seda:${header.whereto}"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)