Skip to content

Commit

Permalink
Enable user via logout
Browse files Browse the repository at this point in the history
  • Loading branch information
denis.plotnikov committed Dec 12, 2024
1 parent d631dda commit 36712f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/exactpro/th2/FixHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public CompletableFuture<MessageID> send(@NotNull ByteBuf body, @NotNull Map<Str
boolean isLogon = msgType != null && Objects.equals(msgType.getValue(), MSG_TYPE_LOGON);
boolean enableReconnect = properties.containsKey(ENABLE_RECONNECT_PROPERTY);

if(isLogon && enableReconnect) {
if(isLogout && enableReconnect) {
context.send(CommonUtil.toEvent(String.format("Enabling session reconnects: %b", channel.getSessionAlias())));
sessionActive.set(true);
try {
Expand Down

0 comments on commit 36712f7

Please sign in to comment.