activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4011) Refactor IntrospectionSupport to avoid using java bean property editors
Date Mon, 17 Sep 2012 15:26:08 GMT

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

Claus Ibsen commented on AMQ-4011:
----------------------------------

xbean requires to use property editors for its xml -> int|long|boolean conversions.

However the IntrospectionSupport which is used during runtime, should avoid property editors.
                
> Refactor IntrospectionSupport to avoid using java bean property editors
> -----------------------------------------------------------------------
>
>                 Key: AMQ-4011
>                 URL: https://issues.apache.org/jira/browse/AMQ-4011
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.6.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 5.7.0
>
>
> Java bean property editors is slow and not thread safe to use. We at Apache Camel has
removed its usage in the Camel type converter system.
> We should do the same in ActiveMQ. There is only a number of default converters needed
that is fairly easy to implement by hand (eg String <-> Numbers, Booleans etc.). 
> This fixes some other issues with AMQ causing memory leaks in dynamic environments where
you may run multiple brokers, or hot deploy brokers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message