Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4276

Don't restart the network bridge on race condition where respondent sends to a temp dest that has just been deleted

    XMLWordPrintableJSON

Details

    Description

      request reply with temp destinations can lead to forwarding exceptions in a network bridge, which tears down the bridge.
      because this can happen in normal operation; a respondent replying after an initiator has given up waiting for a reply, the bridge should be able to log and survive.

      Assume a network of brokers between three brokers: A <===> B <===> C
      a client on C creates a temporary destination, assigns that as a reply-to in a message then sends the message.
      a client on A consumes the message and will send back a response to the temporary destination. after the response has been sent, the client on C goes away which will cause the temporary destination to go away. the advisory to remove the temporary destination will get to B before the response from the client on A gets to B. When the response finally does get to B, the temporary destination will no longer be there and will be considered invalid. It will throw a JMSException of Destination Does not Exist.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: