Fixed number of index was wrong on the mbean open type
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/57b91f81 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/57b91f81 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/57b91f81 Branch: refs/heads/master Commit: 57b91f81aabca8d39923e6ac0e77dab323127c37 Parents: 7f5e278 Author: Claus Ibsen <davscl...@apache.org> Authored: Thu Dec 11 18:55:37 2014 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Thu Dec 11 18:56:10 2014 +0100 ---------------------------------------------------------------------- .../apache/camel/api/management/mbean/CamelOpenMBeanTypes.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/57b91f81/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java b/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java index c2dfa59..f0fad68 100644 --- a/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java +++ b/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java @@ -68,7 +68,7 @@ public final class CamelOpenMBeanTypes { public static TabularType explainEndpointTabularType() throws OpenDataException { CompositeType ct = explainEndpointsCompositeType(); - return new TabularType("explainEndpoint", "Explain how this endpoint is configured", ct, new String[]{"option", "kind", "type", "java type", "value", "default value", "description"}); + return new TabularType("explainEndpoint", "Explain how this endpoint is configured", ct, new String[]{"option"}); } public static CompositeType explainEndpointsCompositeType() throws OpenDataException { @@ -79,7 +79,7 @@ public final class CamelOpenMBeanTypes { public static TabularType listComponentsTabularType() throws OpenDataException { CompositeType ct = listComponentsCompositeType(); - return new TabularType("listComponents", "Lists all the components", ct, new String[]{"name", "description", "label", "status", "type", "groupId", "artifactId", "version"}); + return new TabularType("listComponents", "Lists all the components", ct, new String[]{"name"}); } public static CompositeType listComponentsCompositeType() throws OpenDataException {