hibernating-rhinos/rhino-esb — pull request #54 by RyanHauert (2012-08-10 20:03:26+00:00)
Title: MsmqMessageBuilder supports DeliverBy and MaxAttempts (when it is 1)

DeliverBy is supported by setting TimeToReachQueue on the MSMQ Message. TimeToReachQueue can be set to TimeSpan.Zero to have MSMQ try once, so setting MaxAttempts to 1 is supported. If MaxAttempts is set to a value other than 1, an InvalidUsageException is thrown.