Browse files

Add default parameter requeue = false to BasicRecover

  • Loading branch information...
1 parent 1c8a89d commit 8b0c46e85f80422ca18432188d070a1fc2a28dd4 @alanxz committed Nov 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/SimpleAmqpClient/Channel.h
View
2 src/SimpleAmqpClient/Channel.h
@@ -269,7 +269,7 @@ class SIMPLEAMQPCLIENT_EXPORT Channel : boost::noncopyable
* @param requeue throw the messages back into the queue they were delivered
* from, this may result in the messages being delivered to a different consumer
*/
- void BasicRecover(const std::string& consumer, bool requeue);
+ void BasicRecover(const std::string& consumer, bool requeue = false);
/**
* Starts consuming Basic messages on a queue

0 comments on commit 8b0c46e

Please sign in to comment.