Skip to content

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

@b0rv3g4r4

Description

@b0rv3g4r4

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions