Skip to content

Commit

Permalink
make FIX_MESSAGE also apply to messages sent using SessionWriter
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-adaptive committed Oct 18, 2024
1 parent a54a713 commit 2ff90ca
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@

import org.agrona.DirectBuffer;
import uk.co.real_logic.artio.CommonConfiguration;
import uk.co.real_logic.artio.DebugLogger;
import uk.co.real_logic.artio.builder.Encoder;
import uk.co.real_logic.artio.dictionary.SessionConstants;
import uk.co.real_logic.artio.messages.DisconnectReason;
import uk.co.real_logic.artio.protocol.GatewayPublication;
import uk.co.real_logic.artio.util.MutableAsciiBuffer;

import static uk.co.real_logic.artio.GatewayProcess.NO_CONNECTION_ID;
import static uk.co.real_logic.artio.LogTag.FIX_MESSAGE;
import static uk.co.real_logic.artio.messages.MessageStatus.OK;

/**
Expand Down Expand Up @@ -158,6 +160,8 @@ public long send(

if (position > 0)
{
DebugLogger.logFixMessage(FIX_MESSAGE, messageType, "Sent ", messageBuffer, offset, length);

final InternalSession session = this.session;
if (session != null)
{
Expand Down

0 comments on commit 2ff90ca

Please sign in to comment.