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/12 23:01:00 UTC

[jira] [Comment Edited] (CAMEL-17190) Quickfix engine not stopped on route stop

    [ https://issues.apache.org/jira/browse/CAMEL-17190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442978#comment-17442978 ] 

Claus Ibsen edited comment on CAMEL-17190 at 11/12/21, 11:00 PM:
-----------------------------------------------------------------

Another improvement is that if there are no more active consumers then the engine can be stopped eager, and if a consumer is started later, then the engine will be started again.
Okay that is not as easy as the producers can also use the same engine, when they need to send messages.


was (Author: davsclaus):
Another improvement is that if there are no more active consumers then the engine can be stopped eager, and if a consumer is started later, then the engine will be started again.

> Quickfix engine not stopped on route stop
> -----------------------------------------
>
>                 Key: CAMEL-17190
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17190
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-quickfix
>    Affects Versions: 3.11.3
>            Reporter: Alexander Anpilov
>            Priority: Minor
>             Fix For: 3.11.4, 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)