Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with split message : Throttiling error (ESME Exceded allowed message limits) #41

Open
b0rv3g4r4 opened this issue Feb 2, 2021 · 0 comments

Comments

@b0rv3g4r4
Copy link

When the message is longer and the library split the message.
The speed at which consecutive parts are sent is so high that server limitations jump.
I have temporarily fixed it by putting a delay of 100ms between each part send.

SmppClient - SendMessage

` foreach (SendSmPDU pdu in message.GetMessagePDUs(vProperties.DefaultEncoding, vSmppEncodingService))

        {
            ResponsePDU resp = SendPdu(pdu, timeOut);
            var submitSmResp = resp as SubmitSmResp;
            if (submitSmResp != null)
            {
                messageId = ((SubmitSmResp)resp).MessageID;
            }
            message.ReceiptedMessageId = messageId;
            RaiseMessageSentEvent(message);
            Thread.Sleep(100);
        }`

Is there another solution to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant