servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r384788 - in /incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi: container/JBIContainer.java management/ManagementContext.java
Date Fri, 10 Mar 2006 13:37:16 GMT
Author: gnodet
Date: Fri Mar 10 05:37:13 2006
New Revision: 384788

URL: http://svn.apache.org/viewcvs?rev=384788&view=rev
Log:
Change so that the default container mbean name is
  org.apache.servicemix:container=ServiceMix,type=JBIContainer

Modified:
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/JBIContainer.java
    incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/ManagementContext.java

Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/JBIContainer.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/JBIContainer.java?rev=384788&r1=384787&r2=384788&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/JBIContainer.java
(original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/JBIContainer.java
Fri Mar 10 05:37:13 2006
@@ -86,7 +86,7 @@
     /**
      * Default Container name - must be unique if used in a cluster
      */
-    public static final String DEFAULT_NAME = "defaultJBI";
+    public static final String DEFAULT_NAME = "ServiceMix";
     private static final Log log = LogFactory.getLog(JBIContainer.class);
     private String name = DEFAULT_NAME;
     private InitialContext namingContext;

Modified: incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/ManagementContext.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/ManagementContext.java?rev=384788&r1=384787&r2=384788&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/ManagementContext.java
(original)
+++ incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/management/ManagementContext.java
Fri Mar 10 05:37:13 2006
@@ -533,7 +533,7 @@
     }
     
     public static ObjectName getContainerObjectName(String domainName, String containerName)
{
-        String tmp = domainName + ":container=" + containerName + ",type=Container";
+        String tmp = domainName + ":container=" + containerName + ",type=JBIContainer";
         ObjectName result = null;
         try {
             result = new ObjectName(tmp);



Mime
View raw message