[ 
https://issues.apache.org/jira/browse/AMQ-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Retzlaff updated AMQ-3488:
------------------------------

    Attachment: TempQueueDeleteOnCloseTest.java

The attached test case demonstrates this bug by having a consumer active on the 
source connection, which causes a "Consumer is consuming from the temporary 
destination" exception when a separate connection is created and closed.


> Temporary queue advisory messages over VM transport prevents connection 
> closure
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-3488
>                 URL: https://issues.apache.org/jira/browse/AMQ-3488
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.5.0
>            Reporter: Dan Retzlaff
>         Attachments: TempQueueDeleteOnCloseTest.java
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to