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

davsclaus 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 b0c869c  CAMEL-13647: Allow to do autowrire by classpath. Fixed 
camel-jms about lazy creating ConnectionFactory.
b0c869c is described below

commit b0c869c3d38a4c21a5b3e0552ee38609678b76e6
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Jun 18 08:18:33 2019 +0200

    CAMEL-13647: Allow to do autowrire by classpath. Fixed camel-jms about lazy 
creating ConnectionFactory.
---
 .../src/test/java/org/apache/camel/component/activemq/AMQ2240Test.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-activemq/src/test/java/org/apache/camel/component/activemq/AMQ2240Test.java
 
b/components/camel-activemq/src/test/java/org/apache/camel/component/activemq/AMQ2240Test.java
index 3ecbb58..824544b 100644
--- 
a/components/camel-activemq/src/test/java/org/apache/camel/component/activemq/AMQ2240Test.java
+++ 
b/components/camel-activemq/src/test/java/org/apache/camel/component/activemq/AMQ2240Test.java
@@ -52,7 +52,7 @@ public class AMQ2240Test {
             LOG.info("creating context with bad URI: " + vmUri);
             ActiveMQComponent amq = ActiveMQComponent.activeMQComponent(vmUri);
 
-            amq.getConfiguration().getConnectionFactory();
+            amq.getConfiguration().getOrCreateConnectionFactory();
 
             fail("Should have received an exception from the bad URI.");
         } catch (Exception e) {

Reply via email to