Export to GitHub

apns-sharp - issue #9

Send retries should default to 1 (or other value greater than 0)


Posted on Sep 10, 2009 by Quick Wombat

Send retries should default to 1 (or other value greater than 0) or internally always = retries + 1 or should be renamed SendAttempts

Steps will reproduce the problem? 1. create instance of NotificationService 2. Do NOT set SendRetries or set SendRetries = 0 3. create an instance of Notification, set necessary properties 4. Call QueueNotification passing the Notification object 5. Notification fails to be queued

I would expect the message to be queued and attempted to be sent, if it failed to send I would not expect a retry (as I set SendRetries to 0).

Using version 1.0.1.0

I know this is a small point but SendRetries does imply a certain behaviour which is not really correct.

Thanks for your work :)

Comment #1

Posted on Dec 22, 2009 by Happy Lion

Fixed, should now default to 1

Status: Fixed

Labels:
Type-Defect Priority-Medium