Skip to content

Commit

Permalink
return forced disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Plotnikov committed Dec 12, 2023
1 parent 337c7eb commit 9412e7a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/com/exactpro/th2/FixHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,12 @@ private Map<String, String> handleLogout(@NotNull ByteBuf message, Map<String, S
enabled.set(false);
activeLogonExchange.set(false);
context.send(CommonUtil.toEvent("logout for sender - " + settings.getSenderCompID()), null);//make more useful
try {
disconnect(false);
channel.open();
} catch (Exception e) {
LOGGER.error("Error while disconnecting in handle logout.");
}
return metadata;
}

Expand Down

0 comments on commit 9412e7a

Please sign in to comment.