activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (AMQ-4011) Refactor IntrospectionSupport to avoid using java bean property editors
Date Tue, 18 Sep 2012 07:58:08 GMT


Claus Ibsen commented on AMQ-4011:

I have kept 2 special converters for backwards compatibility
- Object <-> String[]
- String <-> List<ActiveMQDestination>

In the future we may want to see if we can discourage using them. Especially the latter which
is a bit special. As there is type erasure we don't really know that you want a List<ActiveMQDestination>
and not a List<Foo> etc.

> Refactor IntrospectionSupport to avoid using java bean property editors
> -----------------------------------------------------------------------
>                 Key: AMQ-4011
>                 URL:
>             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:

View raw message