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

Make PrefetchPolicy a property of IConnection for easier unit testing against NMS ActiveMQ

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • NMS
    • None

    Description

      Make PrefetchPolicy a property of IConnection for easier unit testing against Apache.NMS.ActiveMQ.Connection class.

      If a prefetch policy is set in code right now, the IConnection needs to be casted to Connection. This breaks tests mocking a Connection with IConnection.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: