Followup to CAMEL-7132

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

Branch: refs/heads/master
Commit: 0d35f4c0d1c8386a6755c59618ebf9de69847f4b
Parents: 90ce8ab
Author: Yoshiki Higo <yoshiki.h...@gmail.com>
Authored: Wed Aug 24 17:45:45 2016 +0900
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Fri Aug 26 13:47:28 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/quartz2/QuartzComponent.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0d35f4c0/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/QuartzComponent.java
----------------------------------------------------------------------
diff --git 
a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/QuartzComponent.java
 
b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/QuartzComponent.java
index 628adc9..99ec275 100644
--- 
a/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/QuartzComponent.java
+++ 
b/components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/QuartzComponent.java
@@ -354,7 +354,7 @@ public class QuartzComponent extends UriEndpointComponent 
implements StartupList
             group = host;
             name = path;
         } else {
-            String camelContextName = getCamelContext().getManagementName();
+            String camelContextName = 
QuartzHelper.getQuartzContextName(getCamelContext());
             group = camelContextName == null ? "Camel" : "Camel_" + 
camelContextName;
             name = host;
         }

Reply via email to