File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
projects/client/RabbitMQ.Client/src/client Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -629,6 +629,14 @@ void HandleBasicGetOk(ulong deliveryTag,
629
629
///</remarks>
630
630
void HandleBasicGetEmpty ( ) ;
631
631
632
+ ///<summary>Handle incoming Basic.RecoverOk methods
633
+ ///received in reply to Basic.Recover . All messages
634
+ ///received before this is invoked that haven't been
635
+ ///ack'ed will be redelivered. All messages received
636
+ ///afterwards won't be.
637
+ ///</summary>
638
+ void HandleBasicRecoverOk ( ) ;
639
+
632
640
[ AmqpForceOneWay ]
633
641
[ AmqpMethodMapping ( null , "basic" , "recover" ) ]
634
642
void _Private_BasicRecover ( bool requeue ) ;
Original file line number Diff line number Diff line change @@ -798,7 +798,6 @@ public void BasicRecover(bool requeue)
798
798
}
799
799
800
800
k . GetReply ( ) ;
801
- OnBasicRecoverOk ( new EventArgs ( ) ) ;
802
801
}
803
802
804
803
public abstract void BasicQos ( uint prefetchSize ,
@@ -970,6 +969,13 @@ public void HandleBasicGetEmpty()
970
969
k . HandleCommand ( null ) ; // release the continuation.
971
970
}
972
971
972
+ public void HandleBasicRecoverOk ( )
973
+ {
974
+ SimpleBlockingRpcContinuation k = ( SimpleBlockingRpcContinuation ) m_continuationQueue . Next ( ) ;
975
+ k . HandleCommand ( null ) ;
976
+ OnBasicRecoverOk ( new EventArgs ( ) ) ;
977
+ }
978
+
973
979
public abstract ConnectionTuneDetails ConnectionStartOk ( IDictionary clientProperties ,
974
980
string mechanism ,
975
981
byte [ ] response ,
You can’t perform that action at this time.
0 commit comments