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

Creating ConnectionFactory fails if ActiveMQ assembly has long path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.5.0
    • 1.5.2
    • None
    • None

    Description

      If the path of the directory containing Apache.NMS.DLL is long then creating the NMSConnectionFactory can fail with
      PathTooLongException.

      ProviderUri:
      "tcp://activemq.hq.opengamma.com:61616"
      Path to the NMS dll was:
      C:\Users\simon.HQ\AppData\Local\Temp\4e913663-806b-4885-a6a0-14568b865815\4e913663-806b-4885-a6a0-14568b865815\assembly\dl3\8719cfea\776f9635_4f3dcc01\Apache.NMS.DLL

      Looks like the config document is being looked for when it would be too long.

      Path was generated by Resharper's xunit test runner.

      Attachments

        Activity

          People

            jgomes Jim Gomes
            simon-og Simon Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: