Maximum message size to be raised by event sink

I am using SuperTcpServerChannel and attempting to raise event back to clients that is a large message. Seems like the large message never gets sent over to the client. I checked the wiki pages and arrived at ServerSecurityOptions.EnforceSecurity. How do I modify this property to false so that it ignores message size, or is there another property that I am not setting that enables large data to be sent out?

Here are my current settings but there is some other setting missing, maybe EnforceSecurity = false…? Please help
binMessage.MaxDecompressedMessageSize = int.MaxValue;
binMessage.MaxMessageSize = int.MaxValue;
serverChannel.MaxPackageSize = int.MaxValue;

I currently have server channel event for BeforeSendStream so that gets executed before I send callbacks. But when a message is large this method does not get called nor does the message reach the client.
serverChannel.BeforeSendStream += new RemObjects.SDK.StreamEventHandler(serverChannel_BeforeSendStream);

This event gets triggered which does eventSink.OnSubmitResponse but again BeforeSendStream or Client does not receive message.

    void RequestDone(TransactionRequest transactionRequest, ResponseMessage responseMessage)
    {
        if (transactionRequest != null)
        {
            try
            {
                Log.DebugFormat("Request Done [message={0}]  Raising event...", transactionRequest.MessageID);
                var eventSink = (IGuardianServerEvents)GetEventSink(typeof(IGuardianServerEvents), GetClient(transactionRequest.LoginUserID));
                if (eventSink != null)
                {
                    eventSink.OnSubmitResponse(DataConversion.GetResponseMessageData(responseMessage), DataConversion.GetTransactionRequestData(transactionRequest));
                    Log.DebugFormat("Raised event for [message={0}], [session={1}]", transactionRequest.MessageID, transactionRequest.LoginUserID);
                }
            }
            catch
            {
            }
        }
    }

Hello Dmitry.

Thank you for the instructions and testcase. Appropriate issue is registered as #54636. Also it isn’t recommended to send large data via events.

Thanks.