This is an automated email from the ASF dual-hosted git repository.

cmueller pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 641b86f  removed duplicate lines
641b86f is described below

commit 641b86f207e67ae2660e7e7706028f1a8ba0edf6
Author: Christian Mueller <c...@amazon.de>
AuthorDate: Mon Apr 13 15:23:42 2020 +0200

    removed duplicate lines
---
 .../src/main/java/org/apache/camel/component/jms/JmsConfiguration.java  | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
 
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
index 589a2fd..5da5131 100644
--- 
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
+++ 
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConfiguration.java
@@ -1466,8 +1466,6 @@ public class JmsConfiguration implements Cloneable {
     protected void 
configureMessageListenerContainer(AbstractMessageListenerContainer container,
                                                      JmsEndpoint endpoint) 
throws Exception {
         container.setConnectionFactory(getOrCreateListenerConnectionFactory());
-        container.setConnectionFactory(getOrCreateListenerConnectionFactory());
-        container.setConnectionFactory(getOrCreateListenerConnectionFactory());
         if (endpoint instanceof DestinationEndpoint) {
             
container.setDestinationResolver(createDestinationResolver((DestinationEndpoint)
 endpoint));
         } else if (destinationResolver != null) {

Reply via email to