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

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


The following commit(s) were added to refs/heads/main by this push:
     new b1d6dc044af CAMEL-18129: camel-quickfix - Fix lazyCreateEngine. Thanks 
to Alexander Anpilov for sample project to reproduce.
b1d6dc044af is described below

commit b1d6dc044af088733a0d80ccd63934f869ad5bf6
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Thu May 19 15:37:55 2022 +0200

    CAMEL-18129: camel-quickfix - Fix lazyCreateEngine. Thanks to Alexander 
Anpilov for sample project to reproduce.
---
 .../java/org/apache/camel/component/quickfixj/QuickfixjEngine.java   | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
 
b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
index 0e7ec75345f..b9ef8de8ab4 100644
--- 
a/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
+++ 
b/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfixj/QuickfixjEngine.java
@@ -247,6 +247,11 @@ public class QuickfixjEngine extends ServiceSupport {
         return new SessionSettings(inputStream);
     }
 
+    @Override
+    protected void doInit() throws Exception {
+        initializeEngine();
+    }
+
     @Override
     protected void doStart() throws Exception {
         LOG.debug("Starting QuickFIX/J Engine: {}", uri);

Reply via email to