Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18129

camel-quickfix - lazy-create-engines option is not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.15.0, 3.16.0
    • 3.18.0
    • camel-quickfix
    • None

    Description

      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:

      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) 

      Only manual restarting route (via JMX for example) forces quickfix engine to start.

      Attachments

        1. camel-quickfix-test.zip
          4 kB
          Alexander Anpilov

        Activity

          People

            davsclaus Claus Ibsen
            aanpilov Alexander Anpilov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: