You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2016/06/02 15:01:43 UTC
[4/6] camel git commit: CAMEL-10011 - fix Overlap in management name
for multiple contexts in OSGi bundle
CAMEL-10011 - fix Overlap in management name for multiple contexts in OSGi bundle
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d3dcf620
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d3dcf620
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d3dcf620
Branch: refs/heads/camel-2.17.x
Commit: d3dcf6205055718288d71ada448a052d04586aff
Parents: 3628697
Author: Jonathan Anstey <ja...@gmail.com>
Authored: Thu Jun 2 12:16:15 2016 -0230
Committer: Jonathan Anstey <ja...@gmail.com>
Committed: Thu Jun 2 12:31:20 2016 -0230
----------------------------------------------------------------------
.../org/apache/camel/core/osgi/OsgiManagementNameStrategy.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/d3dcf620/components/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/OsgiManagementNameStrategy.java
----------------------------------------------------------------------
diff --git a/components/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/OsgiManagementNameStrategy.java b/components/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/OsgiManagementNameStrategy.java
index 78468c6..d372aa1 100644
--- a/components/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/OsgiManagementNameStrategy.java
+++ b/components/camel-core-osgi/src/main/java/org/apache/camel/core/osgi/OsgiManagementNameStrategy.java
@@ -46,7 +46,7 @@ public class OsgiManagementNameStrategy extends DefaultManagementNameStrategy {
private final BundleContext bundleContext;
public OsgiManagementNameStrategy(CamelContext camelContext, BundleContext bundleContext) {
- super(camelContext, "#symbolicName#", "#symbolicName#-#counter#");
+ super(camelContext, "#symbolicName#-#name#", "#symbolicName#-#name#-#counter#");
this.bundleContext = bundleContext;
}