Repository: camel Updated Branches: refs/heads/camel-2.17.x 3628697f3 -> 4d90ef903 refs/heads/master a24158b45 -> fbd0a358f
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/22e0a3e7 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/22e0a3e7 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/22e0a3e7 Branch: refs/heads/master Commit: 22e0a3e78c93874f89db5d56b3c542afb7e9fd0e Parents: a24158b Author: Jonathan Anstey <jans...@gmail.com> Authored: Thu Jun 2 12:16:15 2016 -0230 Committer: Jonathan Anstey <jans...@gmail.com> Committed: Thu Jun 2 12:17:29 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/22e0a3e7/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; }