JamaaSMPP
JamaaSMPP copied to clipboard
Problem with split message : Throttiling error (ESME Exceded allowed message limits)
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?