diff options
| author | Charles E. Rolke <chug@apache.org> | 2010-11-30 21:24:44 +0000 |
|---|---|---|
| committer | Charles E. Rolke <chug@apache.org> | 2010-11-30 21:24:44 +0000 |
| commit | f4c461b029eb2a8f861c8199c50e4fea9fd3d0bc (patch) | |
| tree | 1719a4703fc5abb11bcdc674c1d75492e7147e9f /qpid/cpp/bindings | |
| parent | 5e386c7b170cf1d11fb1fcfe8d6a4b7a7ba43291 (diff) | |
| download | qpid-python-f4c461b029eb2a8f861c8199c50e4fea9fd3d0bc.tar.gz | |
Ensure spout example waits for all messages to be sent before detaching session
see c++ spout fix r957513
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1040778 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings')
| -rw-r--r-- | qpid/cpp/bindings/qpid/dotnet/examples/csharp.example.spout/csharp.example.spout.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/bindings/qpid/dotnet/examples/csharp.example.spout/csharp.example.spout.cs b/qpid/cpp/bindings/qpid/dotnet/examples/csharp.example.spout/csharp.example.spout.cs index 59ba35f12b..830e943705 100644 --- a/qpid/cpp/bindings/qpid/dotnet/examples/csharp.example.spout/csharp.example.spout.cs +++ b/qpid/cpp/bindings/qpid/dotnet/examples/csharp.example.spout/csharp.example.spout.cs @@ -105,6 +105,7 @@ namespace Org.Apache.Qpid.Messaging.Examples { message.SetProperty("spout-id", spoutid);
sender.Send(message);
}
+ session.Sync();
connection.Close();
} catch (Exception e) {
Console.WriteLine("Exception {0}.", e);
|
