Repository: camel Updated Branches: refs/heads/master 0cd81204d -> 094936976
Fixed index was wrong/clash 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/353c6af6 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/353c6af6 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/353c6af6 Branch: refs/heads/master Commit: 353c6af60c33b9b5e8b66b4fe09ad02cc8d8868c Parents: 0cd8120 Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Dec 12 11:33:39 2014 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Dec 12 11:34:09 2014 +0100 ---------------------------------------------------------------------- .../apache/camel/api/management/mbean/CamelOpenMBeanTypes.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/353c6af6/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 f0fad68..5261b39 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 @@ -61,7 +61,7 @@ public final class CamelOpenMBeanTypes { } public static CompositeType listEndpointsCompositeType() throws OpenDataException { - return new CompositeType("url", "Endpoints", new String[]{"url"}, + return new CompositeType("endpoints", "Endpoints", new String[]{"url"}, new String[]{"Url"}, new OpenType[]{SimpleType.STRING}); } @@ -72,7 +72,7 @@ public final class CamelOpenMBeanTypes { } public static CompositeType explainEndpointsCompositeType() throws OpenDataException { - return new CompositeType("endpoint", "Explain Endpoint", new String[]{"option", "kind", "type", "java type", "value", "default value", "description"}, + return new CompositeType("endpoints", "Endpoints", new String[]{"option", "kind", "type", "java type", "value", "default value", "description"}, new String[]{"Option", "Kind", "Type", "Java Type", "Value", "Default Value", "Description"}, new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING}); } @@ -83,7 +83,7 @@ public final class CamelOpenMBeanTypes { } public static CompositeType listComponentsCompositeType() throws OpenDataException { - return new CompositeType("name", "Components", new String[]{"name", "description", "label", "status", "type", "groupId", "artifactId", "version"}, + return new CompositeType("components", "Components", new String[]{"name", "description", "label", "status", "type", "groupId", "artifactId", "version"}, new String[]{"Name", "Description", "Label", "Status", "Type", "GroupId", "ArtifactId", "Version"}, new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING}); }