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

Multiple RequestTimeout Options in NMS.ActiveMQ causes option to not work when used with Failover.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.0, 1.3.0
    • 1.4.0
    • ActiveMQ, Stomp
    • None

    Description

      NMS.ActiveMQ has several different places where a RequestTimeout option is able to be configured. The one in the Transport layer severs no real purpose any more and can lead to confusion as its not able to be set correctly when the FailoverTransport is used as the layering of Transports hides the value. The Connection object has its own RequestTimeout and should be the only one we need as it is used to set the value for the Session and Producer classes.

      I'd like to remove the RequestTimeout option from the Transports layer altogether since the timeout is actually specified in the request call that takes a timeout option.

      Also the current ConnectionFactory doesn't properly configure the Connection.RequestTimeout if set on the URI, this should be fixed here as well.

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: