camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r889331 - /camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
Date Thu, 10 Dec 2009 16:49:19 GMT
Author: davsclaus
Date: Thu Dec 10 16:49:18 2009
New Revision: 889331

URL: http://svn.apache.org/viewvc?rev=889331&view=rev
Log:
CAMEL-2203: Add delegate option for setTestConnectionOnStartup on JmsComponent for convenience

Modified:
    camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java

Modified: camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java?rev=889331&r1=889330&r2=889331&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
(original)
+++ camel/trunk/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
Thu Dec 10 16:49:18 2009
@@ -297,6 +297,10 @@
         getConfiguration().setTransactionTimeout(transactionTimeout);
     }
 
+    public void setTestConnectionOnStartup(boolean testConnectionOnStartup) {
+        getConfiguration().setTestConnectionOnStartup(testConnectionOnStartup);
+    }
+
     /**
      * @deprecated will be removed in Camel 2.2
      */



Mime
View raw message