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

Java QMF2 Agent code made some now invalid assumptions about replyTo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Java Tools
    • None

    Description

      The Java QMF2 Agent code made some now invalid assumptions about replyTo (it assumed that replyTo addresses would be bound to qmf.default.direct or qmf.default.topic) and used this assumption to optimise replies and work around a bug in older versions of the JMS client that caused spurious exchangeDeclares when invoking send() on the replyTo.

      The assumption that was made is still valid for most QMF clients, but there's no reason why a client's reply queue has to be bound to qmf.default.direct or qmf.default.topic.

      This fix adds an additional clause to the sendResponse code that falls back to using the actual replyTo Destination if the reply address isn't bound to one of the qmf exchanges.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fadams Fraser Adams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: