You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ha...@apache.org on 2012/04/02 21:09:54 UTC

svn commit: r1308469 - in /camel/branches/camel-2.9.x: ./ components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzComponent.java components/camel-solr/

Author: hadrian
Date: Mon Apr  2 19:09:54 2012
New Revision: 1308469

URL: http://svn.apache.org/viewvc?rev=1308469&view=rev
Log:
Merged revisions 1301352 via svnmerge from 
https://svn.apache.org/repos/asf/camel/trunk

........
  r1301352 | davsclaus | 2012-03-16 02:50:31 -0400 (Fri, 16 Mar 2012) | 1 line
  
  Added a little debug logging to better know which scheduler is being in use by quartz component
........

Modified:
    camel/branches/camel-2.9.x/   (props changed)
    camel/branches/camel-2.9.x/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzComponent.java
    camel/branches/camel-2.9.x/components/camel-solr/   (props changed)

Propchange: camel/branches/camel-2.9.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-2.9.x/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzComponent.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzComponent.java?rev=1308469&r1=1308468&r2=1308469&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzComponent.java (original)
+++ camel/branches/camel-2.9.x/components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzComponent.java Mon Apr  2 19:09:54 2012
@@ -463,6 +463,12 @@ public class QuartzComponent extends Def
 
     protected Scheduler createScheduler() throws SchedulerException {
         Scheduler scheduler = getFactory().getScheduler();
+
+        if (LOG.isDebugEnabled()) {
+            LOG.debug("Using SchedulerFactory {} to get/create Scheduler {}({})",
+                    new Object[]{getFactory(), scheduler, ObjectHelper.getIdentityHashCode(scheduler)});
+        }
+
         // register current camel context to scheduler so we can look it up when jobs is being triggered
         scheduler.getContext().put(QuartzConstants.QUARTZ_CAMEL_CONTEXT + "-" + getCamelContext().getName(), getCamelContext());
         return scheduler;

Propchange: camel/branches/camel-2.9.x/components/camel-solr/
            ('svn:mergeinfo' removed)