JamaaSMPP icon indicating copy to clipboard operation
JamaaSMPP copied to clipboard

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

Open b0rv3g4r4 opened this issue 4 years ago • 0 comments

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?

b0rv3g4r4 avatar Feb 02 '21 16:02 b0rv3g4r4