Skip to content

Commit

Permalink
update: switch SimplePublish to NanoPublish
Browse files Browse the repository at this point in the history
  • Loading branch information
ifgris committed Aug 3, 2023
1 parent e920efa commit 2f01ada
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Example/Example.MultiConnections/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{
while (true)
{
pool.SimplePublish("Connection1", "FooFirstQueueProducer", "Hello from conn1");
pool.NanoPublish("Connection1", "FooFirstQueueProducer", "Hello from conn1");
Thread.Sleep(1000);
}
});
Expand All @@ -56,7 +56,7 @@
{
while (true)
{
pool.SimplePublish("Connection1", "FooSecondQueueProducer", "Hello from conn1");
pool.NanoPublish("Connection1", "FooSecondQueueProducer", "Hello from conn1");
Thread.Sleep(1000);
}
});
Expand All @@ -65,7 +65,7 @@
{
while (true)
{
pool.SimplePublish("Connection2", "BarFirstQueueProducer", "Hello from conn2");
pool.NanoPublish("Connection2", "BarFirstQueueProducer", "Hello from conn2");
Thread.Sleep(1000);
}
});
Expand Down

0 comments on commit 2f01ada

Please sign in to comment.