You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2017/05/11 18:40:04 UTC

[jira] [Resolved] (AMQ-6672) Use a dynamic proxy in place of hand crafted read only objects for AMQP test client

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

Timothy Bish resolved AMQ-6672.
-------------------------------
    Resolution: Fixed

> Use a dynamic proxy in place of hand crafted read only objects for AMQP test client 
> ------------------------------------------------------------------------------------
>
>                 Key: AMQ-6672
>                 URL: https://issues.apache.org/jira/browse/AMQ-6672
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: AMQP
>    Affects Versions: 5.14.5
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 5.15.0
>
>
> Currently the AMQP test client uses hand crafted read-only wrappers around certain Proton objects returned from the client code to prevent a test from accidentally changing proton state outside the connection object's handler thread.  This is a bit cumbersome as these classes tend to need minor tweaks each time the proton library is updated.  We can instead use a proxy for the proton types generated on the fly to protect most of the proton code from being modified and not need to make changes on each version update.  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)