Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3059

Example TopicListener.cs does not await the arrival of messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8
    • None
    • .NET Client
    • None
    • Linux, Mono JIT compiler version 2.6.7 (tarball Mon Jul 19 18:28:58 UTC 2010) and
      Windows 7

    Description

      I'm trying to run the TopicListener/TopicPublisher provided in the source tree of the dotnet 0.8 client (The Java Broker Compatible client) . I'm running on a Linux host under Mono.

      I find when I execute TopicListener.exe it immediately writes "Waiting for messages..." to the console and then exits. The problem seems to me that the main thread is being allowed to terminate so the program is exiting before it has a chance to hear the messages of TopicPublisher.

      mono ./bin/mono-2.0/debug/TopicListener.exe
      Waiting for messages...

      Attachments

        Activity

          People

            marnie Marnie McCormack
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: