Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-579

ActiveMQ NMS Client hung when connection drops

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.2
    • None
    • ActiveMQ, NMS
    • None

    Description

      Hello.
      We have a cluster which contains 2 brockers (version 5.15.3). Our application enqueue and dequeue from ActiveMQ in multithread. Each thread create own connection like this:

      var connectionFactory = new ConnectionFactory(connectionString, settings.ClientId);
      			return connectionFactory.CreateConnection(settings.UserName, settings.Password);
      

      We tests communication between our app and cluster and some scenario is network connection dropped or brockers vm shutdowns. In this case library can hang (for dequeue or enqueue).
      Connection URI is:

      failover:(tcp://dd-amq-app01:61616,tcp://dd-amq-app02:61616)?transport.maxReconnectAttempts=0&transport.startupMaxReconnectAttempts=0&transport.useExponentialBackOff=false&transport.maxReconnectDelay=1000&transport.timeout=10000
      

      What can we do that library will throw exception or another behavior?
      Logs in attach

      Attachments

        1. logs_part_2.txt
          11 kB
          ArturS
        2. logs.txt
          11 kB
          ArturS

        Activity

          People

            Unassigned Unassigned
            ArturS ArturS
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: