Repository: camel
Updated Branches:
  refs/heads/master 1cc71fc8d -> 1c09c73f8


CAMEL-10226: Fixed CS.


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

Branch: refs/heads/master
Commit: 1c09c73f8536b9787aa57f6a216f24a3ddb9fefb
Parents: 1cc71fc
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Aug 10 10:45:51 2016 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Aug 10 10:45:51 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/jms/JmsComponent.java    | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/1c09c73f/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
----------------------------------------------------------------------
diff --git 
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
 
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
index 30e9354..8dd3a1d 100644
--- 
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
+++ 
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsComponent.java
@@ -149,7 +149,7 @@ public class JmsComponent extends UriEndpointComponent 
implements ApplicationCon
             // If we are being configured with spring...
             if (applicationContext != null) {
 
-                if( getAllowAutoWiredConnectionFactory() ) {
+                if (isAllowAutoWiredConnectionFactory()) {
                     Map<String, ConnectionFactory> 
beansOfTypeConnectionFactory = 
applicationContext.getBeansOfType(ConnectionFactory.class);
                     if (!beansOfTypeConnectionFactory.isEmpty()) {
                         ConnectionFactory cf = 
beansOfTypeConnectionFactory.values().iterator().next();
@@ -157,7 +157,7 @@ public class JmsComponent extends UriEndpointComponent 
implements ApplicationCon
                     }
                 }
 
-                if( getAllowAutoWiredDestinationResolver() ) {
+                if (isAllowAutoWiredDestinationResolver()) {
                     Map<String, DestinationResolver> 
beansOfTypeDestinationResolver = 
applicationContext.getBeansOfType(DestinationResolver.class);
                     if (!beansOfTypeDestinationResolver.isEmpty()) {
                         DestinationResolver destinationResolver = 
beansOfTypeDestinationResolver.values().iterator().next();
@@ -174,9 +174,9 @@ public class JmsComponent extends UriEndpointComponent 
implements ApplicationCon
      * setup to use an auto-wired the connection factory that's found in the 
spring
      * application context.
      *
-     * @return true
+     * @return true by default
      */
-    public boolean getAllowAutoWiredConnectionFactory() {
+    public boolean isAllowAutoWiredConnectionFactory() {
         return true;
     }
 
@@ -185,9 +185,9 @@ public class JmsComponent extends UriEndpointComponent 
implements ApplicationCon
      * setup to use an auto-wired the destination resolved that's found in the 
spring
      * application context.
      *
-     * @return true
+     * @return true by default
      */
-    public boolean getAllowAutoWiredDestinationResolver() {
+    public boolean isAllowAutoWiredDestinationResolver() {
         return true;
     }
 

Reply via email to