You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/11/13 11:26:00 UTC

[jira] [Resolved] (CAMEL-17190) camel-quickfix - Quickfix engine not stopped on route stop

     [ https://issues.apache.org/jira/browse/CAMEL-17190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-17190.
---------------------------------
      Assignee: Claus Ibsen
    Resolution: Fixed

Engines are now stopped or start depending on any active consumer/producers using them

> camel-quickfix - Quickfix engine not stopped on route stop
> ----------------------------------------------------------
>
>                 Key: CAMEL-17190
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17190
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-quickfix
>    Affects Versions: 3.11.3
>            Reporter: Alexander Anpilov
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.14.0
>
>
> When route, consumed from quickfix, stopped (manually or by lost master status), quickfix-engine still works.
> Fix messages are not processed by any camel route and there are no any exception's.
> It seems that camel-quickfix-consumer should overvride doStop() like that:
> {code:java}
> @Override
> protected void doStop() throws Exception {
>     (QuickfixjEndpoint)getEndpoint()).getEngine().doStop();
>     super.doStop(); 
> } {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)