Skip to content

Commit

Permalink
Changing BusinessRejectReason in BusinessMessageReject for BinaryEntr…
Browse files Browse the repository at this point in the history
…yPoint protocol (#478)
  • Loading branch information
aefermiano authored Mar 27, 2023
1 parent 76ddfdc commit c580aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class InternalBinaryEntryPointConnection
extends InternalFixPConnection implements BinaryEntryPointConnection
{
private static final UnsafeBuffer EMPTY_BUFFER = new UnsafeBuffer(new byte[0]);
private static final int THROTTLE_REASON = 99;
private static final int THROTTLE_REASON = 33000;

private final BinaryEntryPointProxy proxy;
private final long maxFixPKeepaliveTimeoutInMs;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,6 @@ public void readBusinessReject(final long refSeqNum, final long rejectRefID)
assertEquals(refSeqNum, businessReject.refSeqNum());
assertEquals(MessageType.NewOrderSingle, businessReject.refMsgType());
assertEquals(rejectRefID, businessReject.businessRejectRefID());
assertEquals(99, businessReject.businessRejectReason());
assertEquals(33000, businessReject.businessRejectReason());
}
}

0 comments on commit c580aba

Please sign in to comment.