Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-715

In rare circumstances HornetQ MessageProducer can send a message to wrong queue.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0, 1.4.0
    • 1.5.0
    • None
    • None

    Description

      The problem is in code:

      ...
      else
      {
      sendRegularMessage(msgI, sendBlocking, theCredits);
      session.checkDefaultAddress(sendingAddress);
      }
      ...

      When user does not have permission to send message, the sendRegularMessage method throws an exception, hence session.checkDefaultAddress is not called and default address remains null. However server changed default address before the exception arises. After this step the default address is different on client and server.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chani@me.com Dmitrii Tikhomirov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: