You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (Commented) (JIRA)" <ji...@apache.org> on 2012/02/13 01:48:59 UTC

[jira] [Commented] (QPID-3440) the Destination cache in AMQMessageDelegate_0_10 does not work

    [ https://issues.apache.org/jira/browse/QPID-3440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206594#comment-13206594 ] 

Robbie Gemmell commented on QPID-3440:
--------------------------------------

Added a test to verify the issue, and its resolution following addition of equals() and hashCode() methods to the generated file causing the problem. Updated the reply-to cache in line with the 0-8/0-9/0-9-1 model of using a LinkedHashMap which will cache the most recent 500 Destinations rather than just SoftReferencing them all.
                
> the Destination cache in AMQMessageDelegate_0_10 does not work
> --------------------------------------------------------------
>
>                 Key: QPID-3440
>                 URL: https://issues.apache.org/jira/browse/QPID-3440
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>             Fix For: 0.15
>
>
> The Destination cache in AMQMessageDelegate_0_10 does not work, because it indexes the cache by the underlying ReplyTo transport class, which has no equals() implementation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org