Skip to content

Commit 7153c73

Browse files
author
Emile Joubert
committed
ExchangeDeclare with same parameters as Java version
1 parent cb31f99 commit 7153c73

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

projects/client/RabbitMQ.Client/src/client/api/IModel.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,11 @@ public interface IModel: IDisposable
177177
///exercised.
178178
///</remarks>
179179
[AmqpMethodDoNotImplement(null)]
180-
void ExchangeDeclare(string exchange, string type, bool durable);
180+
void ExchangeDeclare(string exchange,
181+
string type,
182+
bool durable,
183+
bool autoDelete,
184+
IDictionary arguments);
181185

182186
///<summary>(Spec method) Declare an exchange.</summary>
183187
///<remarks>

projects/client/Unit/src/unit/TestApiGen.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ [TearDown] public void Disconnect()
8989
}
9090

9191
[Test, Timeout(1000)]
92-
public void TestExchangeDeclareNoWait()
92+
public void TestExchangeDeclare()
9393
{
9494
Channel.ExchangeDeclare(exchangeName, "direct",
95-
false, false, true, false, true, null);
95+
false, false, null);
9696
}
9797

9898
[Test]

0 commit comments

Comments
 (0)