ActiveMQ
  1. ActiveMQ
  2. AMQ-3488

Temporary destinations' DestinationInfo commands over VM transport prevent connection closure

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.0
    • Fix Version/s: 5.6.0
    • Component/s: Transport
    • Labels:
      None
    • Regression:
      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.

        Activity

        Gary Tully made changes -
        Fix Version/s 5.6.0 [ 12317974 ]
        Fix Version/s 5.x [ 12316331 ]
        Timothy Bish made changes -
        Fix Version/s 5.6.0 [ 12316331 ]
        Timothy Bish made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Dan Retzlaff made changes -
        Summary Temporary queue advisory messages over VM transport prevents connection closure Temporary destinations' DestinationInfo commands over VM transport prevent connection closure
        Dan Retzlaff made changes -
        Field Original Value New Value
        Attachment TempQueueDeleteOnCloseTest.java [ 12493522 ]
        Dan Retzlaff created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Dan Retzlaff
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development