hi alt
some time i got throttling error on a message part
is there is any way to resubmit this message part when i got throttling?
regards
			
			
									
									
						resubmit message part on throttling
Re: resubmit message part on throttling
Hi mobilyws,
Did you find a way to resubmit failed part in case of throttling or any other error?
please share your workaround
thanks
			
			
									
									
						Did you find a way to resubmit failed part in case of throttling or any other error?
please share your workaround
thanks
Re: resubmit message part on throttling
One possible way how to handle THROTTLED status
			
			
									
									
						Code: Select all
        _client.evSubmitComplete += (sender, response) =>
                                            {
                                                if (response.Status == CommandStatus.ESME_RTHROTTLED)
                                                {
                                                    //allow library to assign next sequence number by submitting.
                                                    response.Request.Sequence = 0;
                                                    //make a delay
                                                    Thread.Sleep(1000);
                                                    // or try to change speed limit
                                                    _client.SendSpeedLimit = 2f / 60f;
                                                    //Resubmit PDU
                                                  _client.SubmitAsync(response.Request);   
                                                }
                                                
                                                
                                            };