Skip to content
Browse files
Adds Recover Method to NMS.  ActiveMQ and Stomp provider implementations added with tests.
  • Loading branch information
Timothy A. Bish committed Nov 11, 2011
1 parent a269757 commit 84b8431ff58406ff66d9457968b479d59ca36a92
Showing 1 changed file with 11 additions and 0 deletions.
@@ -179,6 +179,17 @@ public interface ISession : IDisposable
/// </summary>
ProducerTransformerDelegate ProducerTransformer { get; set; }

/// <summary>
/// Stops all Message delivery in this session and restarts it again
/// with the oldest unabcknowledged message. Messages that were delivered
/// but not acknowledge should have their redelivered property set.
/// This is an optional method that may not by implemented by all NMS
/// providers, if not implemented an Exception will be thrown.
/// Message redelivery is not requried to be performed in the original
/// order. It is not valid to call this method on a Transacted Session.
/// </summary>
void Recover();

#region Transaction methods

/// <summary>

0 comments on commit 84b8431

Please sign in to comment.