camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject git commit: Fix context name in mbean (prepend 'hostname/' to name
Date Fri, 22 Nov 2013 17:16:13 GMT
Updated Branches:
  refs/heads/camel-2.12.x 60a0ae9a2 -> 882f41f56


Fix context name in mbean (prepend 'hostname/' to name


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

Branch: refs/heads/camel-2.12.x
Commit: 882f41f5697121b801588caf6b087abafc4bf889
Parents: 60a0ae9
Author: Hadrian Zbarcea <hzbarcea@gmail.com>
Authored: Fri Nov 22 12:15:57 2013 -0500
Committer: Hadrian Zbarcea <hzbarcea@gmail.com>
Committed: Fri Nov 22 12:15:57 2013 -0500

----------------------------------------------------------------------
 .../camel/management/ManagedBrowsableEndpointAsXmlFileTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/882f41f5/camel-core/src/test/java/org/apache/camel/management/ManagedBrowsableEndpointAsXmlFileTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/management/ManagedBrowsableEndpointAsXmlFileTest.java
b/camel-core/src/test/java/org/apache/camel/management/ManagedBrowsableEndpointAsXmlFileTest.java
index 292bdb0..555aedb 100644
--- a/camel-core/src/test/java/org/apache/camel/management/ManagedBrowsableEndpointAsXmlFileTest.java
+++ b/camel-core/src/test/java/org/apache/camel/management/ManagedBrowsableEndpointAsXmlFileTest.java
@@ -43,7 +43,7 @@ public class ManagedBrowsableEndpointAsXmlFileTest extends ManagementTestSupport
 
         MBeanServer mbeanServer = getMBeanServer();
 
-        ObjectName name = ObjectName.getInstance("org.apache.camel:context=camel-1,type=endpoints,name=\"file://target/files\"");
+        ObjectName name = ObjectName.getInstance("org.apache.camel:context=localhost/camel-1,type=endpoints,name=\"file://target/files\"");
 
         String out = (String) mbeanServer.invoke(name, "browseAllMessagesAsXml", new Object[]{true},
new String[]{"java.lang.Boolean"});
         assertNotNull(out);


Mime
View raw message