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

Temporary destinations' DestinationInfo commands over VM transport prevent connection closure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.5.0
    • 5.6.0
    • Transport
    • None
    • Regression

    Description

      ActiveMQTempDestinations hold onto the source connection that created them. When the source connection is closed, its temporary destinations are deleted. Unfortunately, DestinationInfo commands convey the destination object with its source connection to all other connections on the same VMTransportServer. Hence when these other connections are closed, they attempt to delete the source connection's temporary destination.

      Note that enabling marshaling on the VM transport works around this bug because destination serialization and deserialization does not maintain the source connection reference.

      This bug was not present in 5.4.2.

      Attachments

        1. TempQueueDeleteOnCloseTest.java
          1.0 kB
          Dan Retzlaff

        Activity

          People

            Unassigned Unassigned
            dretzlaff Dan Retzlaff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: