You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Alexander Anpilov (Jira)" <ji...@apache.org> on 2022/05/19 11:17:00 UTC

[jira] [Created] (CAMEL-18129) lazy-create-engines option is not working

Alexander Anpilov created CAMEL-18129:
-----------------------------------------

             Summary: lazy-create-engines option is not working
                 Key: CAMEL-18129
                 URL: https://issues.apache.org/jira/browse/CAMEL-18129
             Project: Camel
          Issue Type: Bug
          Components: camel-quickfix
    Affects Versions: 3.16.0, 3.15.0
            Reporter: Alexander Anpilov
         Attachments: camel-quickfix-test.zip

Hi!

I've attached simple test project for reproduce purposes.

When global option camel.component.quickfix.lazy-create-engines=true or endpoint option 

lazyCreateEngine=true, after starting CamelContext and route quickfix engine is not starting.

Example logs:
{code:java}
o.a.c.c.quickfixj.QuickfixjComponent     : QuickFIX/J engine: quickfix://session.cfg will start lazily
o.a.c.c.quickfixj.QuickfixjEngine        : Inferring log factory: quickfix.ScreenLogFactory
o.a.c.c.quickfixj.QuickfixjEngine        : Inferring message store factory: quickfix.MemoryStoreFactory
o.a.c.impl.engine.AbstractCamelContext   : Routes startup (total:1 started:1)
o.a.c.impl.engine.AbstractCamelContext   :     Started Test_Session (quickfix://session.cfg)
o.a.c.impl.engine.AbstractCamelContext   : Apache Camel 3.16.0 (camel-1) started in 2s761ms (build:64ms init:256ms start:2s441ms)
c.m.t.camel.quickfix.test.Application    : Started Application in 6.947 seconds (JVM running for 7.558) {code}
Only manual restarting route (via JMX for example) forces quickfix engine to start.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)