camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] camel git commit: [CAMEL-9126] camel-swagger may see unrelated type=context mbeans. This closes #609. This closes #608.
Date Fri, 11 Sep 2015 07:28:22 GMT
[CAMEL-9126] camel-swagger may see unrelated type=context mbeans. This closes #609. This closes
#608.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5982c8fd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5982c8fd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5982c8fd

Branch: refs/heads/camel-2.15.x
Commit: 5982c8fddc4890fd2f6a3edafcf432f879de3f26
Parents: cd22d34
Author: Thomas Diesler <thomas.diesler@jboss.com>
Authored: Wed Sep 9 16:23:19 2015 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Sep 11 09:29:22 2015 +0200

----------------------------------------------------------------------
 .../camel/component/swagger/DefaultCamelSwaggerServlet.scala       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5982c8fd/components/camel-swagger/src/main/scala/org/apache/camel/component/swagger/DefaultCamelSwaggerServlet.scala
----------------------------------------------------------------------
diff --git a/components/camel-swagger/src/main/scala/org/apache/camel/component/swagger/DefaultCamelSwaggerServlet.scala
b/components/camel-swagger/src/main/scala/org/apache/camel/component/swagger/DefaultCamelSwaggerServlet.scala
index a74b276..d50c50e 100644
--- a/components/camel-swagger/src/main/scala/org/apache/camel/component/swagger/DefaultCamelSwaggerServlet.scala
+++ b/components/camel-swagger/src/main/scala/org/apache/camel/component/swagger/DefaultCamelSwaggerServlet.scala
@@ -37,7 +37,7 @@ class DefaultCamelSwaggerServlet extends RestSwaggerApiDeclarationServlet
{
     var found: ObjectName = null
 
     val server: MBeanServer = ManagementFactory.getPlatformMBeanServer
-    val names = server.queryNames(new ObjectName("*:type=context,*"), null)
+    val names = server.queryNames(new ObjectName("org.apache.camel:type=context,*"), null)
     for (name <- names.asScala) {
       val on = name.asInstanceOf[ObjectName]
       var id: String = on.getKeyProperty("name")


Mime
View raw message